|
From: | Michael Matz |
Subject: | Re: [Tinycc-devel] version d0db21757afc625a6299aec51cbc282f36abb85f |
Date: | Sun, 19 Nov 2017 15:41:23 +0100 (CET) |
User-agent: | Alpine 2.20 (LSU 67 2015-01-07) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |