9.0 RC1 linking problem with i386 libs on amd64

Dominic Fandrey kamikaze at bsdforen.de
Wed Oct 26 13:48:22 UTC 2011


I haven't tried to dig into this. Only "unusual" properties of the system
are my non-default MAKEOBJDIRPREFIX and the use of ccache.

# uname -a
FreeBSD AryaStark.norad 9.0-RC1 FreeBSD 9.0-RC1 #0: Wed Oct 26 13:46:13 CEST 2011     root at AryaStark.norad:/usr/obj/GENERIC/amd64/usr/src/sys/GENERIC  amd64

# make -VCC -VCPUTYPE -VCFLAGS
/usr/local/bin/ccache clang
athlon64-sse3
-O2 -pipe -march=athlon64-sse3

...
===> lib/csu/i386-elf (obj,depend,all,install)
ld -m elf_i386_fbsd -Y P,/usr/obj/GENERIC/amd64/usr/src/lib32/usr/lib32  -o gcrt1.o -r crt1_s.o gcrt1_c.o
ld: Relocatable linking with relocations from format elf64-x86-64-freebsd (crt1_s.o) to format elf32-i386-freebsd (gcrt1.o) is not supported
*** Error code 1

Stop in /usr/src/lib/csu/i386-elf.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 


More information about the freebsd-current mailing list