330c01bfc6fa6721fd455911a966bce041df31d8 works - thanks for the quick fix!

On 11/19/17, Michael Matz <[email protected]> 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.
>

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to