mips misbehaving, not respecting make.conf
Sean Bruno
sbruno at ignoranthack.me
Thu Nov 20 21:12:01 UTC 2014
On Thu, 2014-11-20 at 11:32 -0800, Sean Bruno wrote:
> > This is one of the many reasons I expected you to copy these
> > binaries over the native ones rather than have them in a side tree.
> >
> > Warner
>
> Been trying to resolve the linking issues when copying the native-xtools
> tool chain target binaries into my chroots. I don't think binutils is
> getting setup correctly to handle the final linking as I see a lot of
> crt1.o errors, bison being the most obvious here.
>
> https://people.freebsd.org/~sbruno/bison_config_log.txt
>
> It looks like the linking stage is trying to assemble amd64 here?
>
> configure:8450: checking lex library
> configure:8464: cc -std=gnu99 -o conftest -pipe -G0 -g -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -L/usr/local/lib conftest.c >&5
> /usr/lib/crt1.o: In function `__start':
> crt1.c:(.text+0x190): undefined reference to `main'
> crt1.c:(.text+0x194): undefined reference to `main'
> configure:8464: $? = 1
> configure: failed program w
>
> sean
Simply abusing the path in login.conf, profile and cshrc things will
manifest this for me, e.g. placing /nxb-bin/bin /nxb-bin/usr/bin etc
first in path variables.
I don't think this is directly related to my copying of the
native-xtools target binaries into the jail.
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20141120/6c61b94d/attachment.sig>
More information about the freebsd-arch
mailing list