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: [email protected]
ReportedBy: [email protected]
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.
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK