[gccsdk] [Bug 204] New: Link failure with g++ -mlibscl

bugzilla-daemon at riscos.info bugzilla-daemon at riscos.info
Sun Mar 28 04:39:40 PDT 2010


http://www.riscos.info/bugzilla3/show_bug.cgi?id=204

           Summary: Link failure with g++ -mlibscl
           Product: GCC/GCCSDK
           Version: other
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: C++ compiler
        AssignedTo: John.Tytgat at aaug.net
        ReportedBy: bavison at riscosopen.org
   Estimated Hours: 0.0


I've been trying to cross-compile some old CFront code using GCCSDK, but didn't
get far. Looks like g++ doesn't currently work with libscl:

echo "int main(void) { return 0; }" | arm-unknown-riscos-g++ -mlibscl -x c++ -

results in lots of lines of output like these:

/opt/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.1.1/../../../../arm-unknown-riscos/bin/ld:
error:
/opt/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.1.1/scl/fpu/libgcc_eh.a(unwind-dw2.o)
uses hardware FP, whereas a.out uses software FP
/opt/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.1.1/../../../../arm-unknown-riscos/bin/ld:
failed to merge target specific data of file
/opt/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.1.1/scl/fpu/libgcc_eh.a(unwind-dw2.o)

Looks like a failure to pass the floating point configuration to a subtool.

-- 
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.




More information about the gcc mailing list