Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-24 Thread Christian Jullien
[mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of Michael Matz Sent: lundi 24 octobre 2016 18:02 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup" Hi, On Thu, 20 Oct 2016,

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-24 Thread Michael Matz
to:tinycc-devel-bounces+eligis=orange...@nongnu.org] > On Behalf Of Michael Matz > Sent: jeudi 20 octobre 2016 17:23 > To: tinycc-devel@nongnu.org > Subject: Re: [Tinycc-devel] core dump on FreeBSD with last commit > "configure: --triplet= option, Makefile: cleanup" > > He

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-20 Thread Christian Jullien
: jeudi 20 octobre 2016 17:23 To: tinycc-devel@nongnu.org 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 --

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-20 Thread Michael Matz
Hi, On Tue, 18 Oct 2016, grischka wrote: > Honestly, in my book the cross compilers are just to test > compilation, they are not assumed to work out of the box. > (Except the windows compiles where everything you need comes > with the source and therefor is well known where it is). I generally

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-20 Thread Michael Matz
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

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-18 Thread Christian Jullien
--- From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On Behalf Of grischka Sent: mardi 18 octobre 2016 18:50 To: tinycc-devel@nongnu.org Subject: Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup" Michael

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-18 Thread grischka
Michael Matz wrote: Hmm and now I see that this hunk also generally breaks building the target compilers like x86_64-tcc, because they don't get NATIVE_DEFINES from config.mak, and hence no -DCONFIG_LDDIR even if configure would have found the correct one, so it now defaults to /lib, and boom.

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-18 Thread Michael Matz
Hi, On Tue, 18 Oct 2016, avih wrote: > Some time ago I also bumped into the lib64 issue, which was apparent > when building cross compilers on a 64 system which doesn't use lib64, > e.g. Ubuntu 64. At the time I wrote a patch (which I didn't submit to > mob) which decides only at one place

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-18 Thread David Mertens
Can we just take a moment to appreciate how a pull request with automated testing (a la Travis CI) would have made this error obvious *before* it was added to mob? On Tue, Oct 18, 2016 at 11:09 AM, Michael Matz wrote: > Hi, > > On Tue, 18 Oct 2016, grischka wrote: > > >

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-18 Thread Michael Matz
Hi, On Tue, 18 Oct 2016, Michael Matz wrote: > But not on linux-x86-64 anymore :-/ I think trying to fix things for a > system one doesn't have access to is futile. FWIW, your recent patch did, > amongst other things: > > #ifndef CONFIG_LDDIR > -# ifdef TCC_TARGET_X86_64 > -# define

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-18 Thread Michael Matz
Hi, On Tue, 18 Oct 2016, grischka wrote: > Christian Jullien wrote: > > Get worse as it now core dumps ... > > At least it seems to find the crt*.o now. But not on linux-x86-64 anymore :-/ I think trying to fix things for a system one doesn't have access to is futile. FWIW, your recent

Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-18 Thread Christian JULLIEN
d'origine - De : "grischka" gris...@gmx.de date mar. 18/10/2016 15:05 (GMT +02:00) À : "tinycc-devel@nongnu.org" tinycc-devel@nongnu.org Objet : Re: [Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup" Chris

[Tinycc-devel] core dump on FreeBSD with last commit "configure: --triplet= option, Makefile: cleanup"

2016-10-17 Thread Christian Jullien
Hi Grischka, This one tccpp_new/delete and other cleanups commit 0be098929a062d706057d7beb78666daa52bac49 still works on FreeBSD with of course C library not found as previously reported But next commit configure: --triplet= option, Makefile: cleanupmob commit