[Mono-list] compiling libgc on Solaris 10: fatal linking relocation error: R_SPARC_32
dgfitch
monoforums.10.dgfitch at antichef.com
Wed Jun 3 17:28:40 EDT 2009
> ld: fatal: relocation error: R_SPARC_32: file
> ../../libgc/.libs/libmonogc.a(sparc_mach_dep.o): symbol <unknown>: offset
> 0x7d755baa is non-aligned
>
Some further information:
The relevant section from gnm -la libgc/.libs/libmonogc.a
sparc_mach_dep.o:
00000000 b /home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000000 t /home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000000 d /home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000000 N /home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000000 N /home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000000 N /home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000000 N /home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000000 a <built-in>
00000000 a <command line>
00000010 T GC_clear_stack_inner
/home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:44
00000038 t .GC_clear_stack_inner_end
00000000 T GC_push_regs
/home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000000 T GC_save_regs_in_stack
/home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:18
00000010 t .GC_save_regs_in_stack_end
/home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:44
00000000 a /home/svc_folio/mono/mono-135093/libgc//
00000020 t loop /home/svc_folio/mono/mono-135093/libgc/sparc_mach_dep.S:52
00000000 a sparc_mach_dep.S
00000000 a sparc_mach_dep.S
But I have no idea how to relate these offsets to the ones in the ld errors.
I'm going to try configure --with-gc=none to see if that compiles, because
it looks like the problem has something to do with the SPARC-specific
assembler in libgc.
--
View this message in context: http://www.nabble.com/compiling-libgc-on-Solaris-10%3A-fatal-linking-relocation-error%3A-R_SPARC_32-tp23854420p23859765.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list