Building HIPE on Solaris 10
Wed Jan 11 12:09:21 CET 2006
Vance Shipley writes:
> Has anyone had any success building R10B-9 on Solaris 10?
> My build is failing here:
> gcc -o /usr/local/src/otp_src_R10B-9/bin/sparc-sun-solaris2.10/beam.hybrid \
> -ldl -lm -lsocket -lnsl -lcurses -L../lib/internal/sparc-sun-solaris2.10 \
> /usr/local/src/otp_src_R10B-9/erts/obj/sparc-sun-solaris2.10/libz.a \
> -lethread -lpthread
> ld: fatal: relocation error: R_SPARC_32: file /usr/local/src/otp_src_R10B-9/erts/obj.hybrid.beam/sparc-sun-solaris2.10/hipe_sparc_glue.o: symbol <unknown>: offset 0xfd61a86f is non-aligned
We don't have Solaris 10 over here, but I remember seeing a similar
error on Solaris 9. It occurred because some sysadmin had seen fit
to install a gcc toolchain configured to use the GNU assembler but
the Solaris linker, and it totally broke. My SPARC/Solaris9 gcc
uses both the Solaris assembler and linker, and it works fine.
More information about the erlang-questions