[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-arch
Subject:    Re: mips misbehaving, not respecting make.conf
From:       Sean Bruno <sbruno () ignoranthack ! me>
Date:       2014-11-20 21:11:57
Message-ID: 1416517917.7423.31.camel () bruno
[Download RAW message or body]


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


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic