tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --t


From: Michael Matz
Subject: Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"
Date: Mon, 24 Oct 2016 18:01:41 +0200 (CEST)
User-agent: Alpine 2.20 (LSU 67 2015-01-07)

Hi,

On Thu, 20 Oct 2016, Christian Jullien wrote:

> I'm sure you'll not believe me, but it's NOT an April Fool.
> 
> $ uname -a
> FreeBSD freebsd64.eligis.com 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0
> r306420: Thu Sep 29 01:43:23 UTC 2016
> address@hidden:/usr/obj/usr/src/sys/GENERIC  amd64
> $ gcc -m32 --print-file-name=crt1.o
> /usr/lib/crt1.o
> $ gcc -m64 --print-file-name=crt1.o
> /usr/lib/crt1.o
> $ gcc --print-file-name=crt1.o
> /usr/lib/crt1.o
> $ find /usr -name crt1.o
> /usr/lib32/crt1.o
> /usr/lib/crt1.o

Gnah!  So they managed to break GCCs multi-lib support in subtle ways.  
Can you even build a hello world type program with "gcc -m32" on that 
system?

Sigh.  Okay, of course nothing is ever as simple :-/ :)

Ciao,
Michael.

> 
> -----Original Message-----
> From: Tinycc-devel [mailto:address@hidden
> On Behalf Of Michael Matz
> Sent: jeudi 20 octobre 2016 17:23
> To: address@hidden
> Subject: Re: [Tinycc-devel] core dump on FreeBSD with last commit
> "configure: --triplet= option, Makefile: cleanup"
> 
> Hello Christian,
> 
> On Wed, 19 Oct 2016, Christian Jullien wrote:
> 
> > x86_64:
> > $ uname -m
> > amd64
> > $ gcc --print-file-name=crt1.o
> > /usr/lib/crt1.o
> > $ find /usr -name crt1.o
> > /usr/lib32/crt1.o
> > /usr/lib/crt1.o
> 
> Aha!  So they chose the opposite way to the linuxes.  Okay, that helps,
> thanks.  Can you verify that
> 
> % gcc -m32 --print-file-name=crt1.o
> 
> gives /usr/lib32/crt1.o ?
> 
> 
> Ciao,
> Michael.
> 
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> 
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]