tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] version d0db21757afc625a6299aec51cbc282f36abb85f


From: Somchai Smythe
Subject: Re: [Tinycc-devel] version d0db21757afc625a6299aec51cbc282f36abb85f
Date: Mon, 20 Nov 2017 12:27:31 +0700

330c01bfc6fa6721fd455911a966bce041df31d8 works - thanks for the quick fix!


On 11/19/17, Michael Matz <address@hidden> 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 -fno-strict-aliasing -I.. -I..  -w -O0 -std=gnu99
>> -fno-omit-frame-pointer
>> ./tcctest.gcc > test.ref
>> ./tcctest.gcc: Symbol `getenv' causes overflow in R_X86_64_PC32
>> relocation
>> Segmentation fault (core dumped)
>
> It seems Ubuntu GCC defaults to generate PIE or PIC code by default,
> that's incompatible with my new testcase.  Or was, please try current mob
> (330c01).
>
> If it still doesn't work please give the output of the above gcc
> command, but with -v added to the command line.  I might then also ask for
> the intermediate files generated by above command when -save-temps is
> added, but try updated mob first.
>
>
> Ciao,
> Michael.
>



reply via email to

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