Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2011 15:32:03 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-current@freebsd.org
Subject:   9.0 RC1 linking problem with i386 libs on amd64
Message-ID:  <4EA80BD3.7000202@bsdforen.de>

next in thread | raw e-mail | index | archive | help
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@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? 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EA80BD3.7000202>