It works also with Fedora 25 except I get this new warning:

 

 

bcheck.c: In function ‘__bound_local_new’:

bcheck.c:240:18: warning: calling ‘__builtin_frame_address’ with a nonzero 
argument is unsafe [-Wframe-address]

     fp = (size_t)__builtin_frame_address(1);\

                  ^~~~~~~~~~~~~~~~~~~~~~~~~~

bcheck.c:249:5: note: in expansion of macro ‘GET_CALLER_FP’

     GET_CALLER_FP(fp);

     ^~~~~~~~~~~~~

bcheck.c: In function ‘__bound_local_delete’:

bcheck.c:240:18: warning: calling ‘__builtin_frame_address’ with a nonzero 
argument is unsafe [-Wframe-address]

     fp = (size_t)__builtin_frame_address(1);\

                  ^~~~~~~~~~~~~~~~~~~~~~~~~~

bcheck.c:266:5: note: in expansion of macro ‘GET_CALLER_FP’

     GET_CALLER_FP(fp);

     ^~~~~~~~~~~~~

 

From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On 
Behalf Of Christian JULLIEN
Sent: lundi 28 novembre 2016 15:20
To: grischka; tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] Linux port is broken with multi-arch

 

Thanks, it is fixed at least on RHEL 6.5. I'll test tonight on Fedora 25 but 
I'm confident it was the same issue.

C.

 

Le : 28 novembre 2016 à 14:50 (GMT +01:00)
De : "grischka" <gris...@gmx.de>
À : "Christian JULLIEN" <eli...@orange.fr>, "tinycc-devel@nongnu.org" 
<tinycc-devel@nongnu.org>
Objet : Re: [Tinycc-devel] Linux port is broken with multi-arch


Please try again.

-- gr

Christian JULLIEN wrote:
> This is the first commit that breaks on multi-arch:
> 
> 
> 
> configure: --triplet= option, Makefile: cleanup
> 
> 
> 
> authorgrischka &lt;grischka&gt;
> Mon, 17 Oct 2016 23:22:21 +0200 (17 23:22 +0200)
> committergrischka &lt;grischka&gt;
> Mon, 17 Oct 2016 23:24:10 +0200 (17 23:24 +0200)
> 
> 
> http://repo.or.cz/tinycc.git/commitdiff/02919cd27506e25dacdbe72dad1ae2718eb75991
> 
> 
> 
> 
> Le&nbsp;:&nbsp;28 novembre 2016 à 12:36 (GMT +01:00)
> De&nbsp;:&nbsp;"David Mertens" &lt;dcmertens.p...@gmail.com&gt;
> À&nbsp;:&nbsp;"tinycc-devel@nongnu.org" &lt;tinycc-devel@nongnu.org&gt;
> Objet&nbsp;:&nbsp;Re: [Tinycc-devel] Linux port is broken with multi-arch
> 
> 
> Hello Christian,
> 
> Not that I would be able to help, but I imagine that git bisect could help us 
> pinpoint the commit that led to the problem. I would run it, but I don't have 
> (or know how to setup) a multi-arch system for testing this.
> 
> David
> 
> On Mon, Nov 28, 2016 at 12:32 AM, Christian Jullien &lt;eli...@orange.fr&gt; 
> wrote:
> Hi Ramsay,&nbsp;For sure I ran ./configure. I did it zillions of times in the 
> past on many different 32/64 platforms. I just tested this morning on my old 
> RHEL 6.5 reference platform which is also configure with multi-arch.And guess 
> what, it is also broken which is new!&nbsp;Here is the result of what you 
> suggested from Fedora 25 x86_64:&nbsp;[jullien@fedora tinycc]$ 
> ./configureBinary&nbsp; directory&nbsp;&nbsp; /usr/local/binTinyCC 
> directory&nbsp;&nbsp;&nbsp; /usr/local/lib/tccLibrary directory&nbsp;&nbsp; 
> /usr/local/libInclude directory&nbsp;&nbsp; /usr/local/includeManual 
> directory&nbsp;&nbsp;&nbsp; /usr/local/share/manInfo 
> directory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/share/infoDoc 
> directory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/share/docTarget root 
> prefix&nbsp; -Source path&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
> /home/jullien/tinyccC 
> compiler&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gccTarget 
> OS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp; 
LinuxCPU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 x86-64Big Endian&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
noProfiling&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; noCross 
compilers&nbsp;&nbsp;&nbsp;&nbsp; noUse 
libgcc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; noTriplet 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Creating
 config.mak and config.h&nbsp;&nbsp;[jullien@fedora tinycc]$ more config.mak # 
Automatically generated by configure - do not 
modifyprefix=/usr/localbindir=$(DESTDIR)/usr/local/bintccdir=$(DESTDIR)/usr/local/lib/tcclibdir=$(DESTDIR)/usr/local/libln_libdir=/usr/local/libincludedir=$(DESTDIR)/usr/local/includemandir=$(DESTDIR)/usr/local/share/maninfodir=$(DESTDIR)/usr/local/share/infodocdir=$(DESTDIR)/usr/local/share/docCC=gccGCC_MAJOR=6GCC_MINOR=2AR=arSTRIP=strip
 -s -R .comment -R .noteCFLAGS=-Wall -g -O2 -Wdeclarat
ion-after-statement -Wno-deprecated-declarations -Wno-strict-aliasing 
-Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -Wno-uninitialized 
-fno-strict-aliasingLDFLAGS=LIBSUF=.aEXESUF=ARCH=x86-64TARGETOS=LinuxVERSION = 
0.9.26TOPSRC=$(TOP)&nbsp;[jullien@fedora tinycc]$ more config.h/* Automatically 
generated by configure - do not modify */#ifndef CONFIG_TCCDIR# define 
CONFIG_TCCDIR "/usr/local/lib/tcc"#endif#define GCC_MAJOR 6#define GCC_MINOR 
2&nbsp;jullien@fedora tinycc]$ gcc conftest.c -o conftest &amp;&amp; ./conftest 
tx86_64-linux-gnu[jullien@fedora tinycc]$&nbsp;&nbsp;-----Original Message-----
> From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] 
> On Behalf Of Ramsay Jones
> Sent: dimanche 27 novembre 2016 21:49
> To: tinycc-devel@nongnu.org
> Subject: Re: [Tinycc-devel] Linux port is broken with 
> multi-arch&nbsp;&nbsp;&nbsp;On 27/11/16 20:35, Ramsay Jones wrote:&gt; On 
> 27/11/16 15:55, Christian Jullien wrote:&gt;&gt; 
> Triplet&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>  -&gt; &gt; This looks odd. Did you run ./configure?&gt; You also don't 
> appear to have CONFIG_TRIPLET set in your config.mak &gt; file.&gt; &gt; [I 
> would expect Triplet to be reported as 'x86_64-linux-gnu'&gt; and your 
> config.mak file to have a line similar to:&gt; &gt; 
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
> NATIVE_DEFINES+=-DCONFIG_TRIPLET="\"x86_64-linux-gnu\""&gt; &gt; 
> somewhere.]&nbsp;BTW, I forgot to suggest trying:&nbsp;&nbsp;&nbsp;&nbsp; $ 
> gcc -o conftest conftest.c&nbsp;&nbsp;&nbsp; $ ./conftest t&nbsp;to see what 
> it returns for the triplet. (Then check that the 'crt'object files are to be 
> found in /usr/lib/&lt;triplet&gt;/).&nbsp;ATB,Ramsay 
> Jones&nbsp;&nbsp;____________________________
___________________Tinycc-devel mailing 
listTinycc-devel@nongnu.orghttps://lists.nongnu.org/mailman/listinfo/tinycc-devel
> _______________________________________________
> 
> Tinycc-devel mailing list
> 
> Tinycc-devel@nongnu.org
> 
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to