Ticket #71 (closed defect: fixed)

Opened 5 months ago

Last modified 3 months ago

Libkernsh does not compile in 64 bits

Reported by: may Owned by: pouik
Priority: major Milestone: v0.81
Component: libkernsh Version:
Severity: Medium Keywords:
Cc:

Description

The following error message is printed when using --enable-64 with --enable-kernsh:

make -C common all64 make[2]: Entering directory `/tmp/eresi/libkernsh/common' sct.c: In function `kernsh_syscall_linux': sct.c:229: error: can't find a register in class BREG' while reloading asm' sct.c:232: error: can't find a register in class BREG' while reloading asm' sct.c:235: error: can't find a register in class BREG' while reloading asm' sct.c:238: error: can't find a register in class BREG' while reloading asm' sct.c:241: error: can't find a register in class BREG' while reloading asm' make[2]: *** [sct.64.o] Error 1 make[2]: Leaving directory `/tmp/eresi/libkernsh/common' make[1]: *** [mod64] Error 2 make[1]: Leaving directory `/tmp/eresi/libkernsh' make: *** [world] Error 2 jfv@laptop:/tmp/eresi$

Change History

Changed 5 months ago by may

  • component changed from ERESI to libkernsh

Changed 3 months ago by camoroz0

Pouik, do we really need to make this code PIC ? a workaround would be to explicitly write down the %%ebx reg.

Changed 3 months ago by may

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.