Re: [Tinycc-devel] version d0db21757afc625a6299aec51cbc282f36abb85f

2017-11-19 Thread Somchai Smythe
330c01bfc6fa6721fd455911a966bce041df31d8 works - thanks for the quick fix! On 11/19/17, Michael Matz wrote: > Hi, > > On Sun, 19 Nov 2017, Somchai Smythe wrote: > >> gcc -o tcctest.gcc tcctest.c -DCONFIG_TRIPLET="\"x86_64-linux-gnu\"" >> -DTCC_TARGET_X86_64

Re: [Tinycc-devel] forward asm symbols vs static

2017-11-19 Thread grischka
Michael Matz wrote: Gnah, what a rats hole :-/ I found another failure mode that occurs only when defaulting asm labels to VT_STATIC/STB_LOCAL. I don't yet want to revert as it fixes demonstratable bugs, but OTOH I lack time tonight to fix this third problem as well. If you want to release

Re: [Tinycc-devel] forward asm symbols vs static

2017-11-19 Thread Michael Matz
Hi, On Sun, 19 Nov 2017, Michael Matz wrote: Aha! Indeed, p3 should be STB_LOCAL, and now (after my revert or before your patch) isn't anymore. Okay, I'll work on this. Need to find a way to get both things working, hmm :) Fixed in mob. Gnah, what a rats hole :-/ I found another failure

Re: [Tinycc-devel] version d0db21757afc625a6299aec51cbc282f36abb85f

2017-11-19 Thread Michael Matz
Hi, On Sun, 19 Nov 2017, Somchai Smythe wrote: gcc -o tcctest.gcc tcctest.c -DCONFIG_TRIPLET="\"x86_64-linux-gnu\"" -DTCC_TARGET_X86_64 -fno-strict-aliasing -I.. -I.. -w -O0 -std=gnu99 -fno-omit-frame-pointer ./tcctest.gcc > test.ref ./tcctest.gcc: Symbol `getenv' causes overflow in

Re: [Tinycc-devel] forward asm symbols vs static

2017-11-19 Thread Michael Matz
Hi, On Fri, 17 Nov 2017, Michael Matz wrote: Aha! Indeed, p3 should be STB_LOCAL, and now (after my revert or before your patch) isn't anymore. Okay, I'll work on this. Need to find a way to get both things working, hmm :) Fixed in mob. Btw. my current 0.9.27 release plan is to do it as

[Tinycc-devel] version d0db21757afc625a6299aec51cbc282f36abb85f

2017-11-19 Thread Somchai Smythe
While things usually work greak, the last few commits just don't work. For commit d0db21757afc625a6299aec51cbc282f36abb85f: $ ./configure --prefix=/usr/local --mandir=/usr/local/man --cpu=x86_64 Perhaps you want ./configure --config-musl Binary directory/usr/local/bin TinyCC directory