Displaying 5 results from an estimated 5 matches for "goldanddebugtest".
2010 Jul 20
3
[LLVMdev] gold and debug information
...S has -g in it.
>
> Can you reduce the testcase a bit? It would be a lot easier to
> reproduce with the ld invocation and the .o files given to it.
>
> All the .o files are in the tarball. You can download it here (too large to
send through the list):
http://pages.cs.wisc.edu/~aliang/goldAndDebugTest.tar.gz
The command is:
llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-
llvm -g -O4 -o flex ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o
nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o
tables.o tables_shared.o filter.o regex.o -lm
Then I got:
$ llvm-gcc -...
2010 Jul 21
0
[LLVMdev] gold and debug information
> All the .o files are in the tarball. You can download it here (too large to
> send through the list):
> http://pages.cs.wisc.edu/~aliang/goldAndDebugTest.tar.gz
There is also something strange with these files, buf.o is actually a
.tar.gz file :-)
>
> Thanks,
> Guoliang
>
Cheers,
--
Rafael Ávila de Espíndola
2010 Jul 21
1
[LLVMdev] gold and debug information
...canopt.o buf.o tables.o tables_shared.o filter.o regex.o -lm -lgcc
--as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s
--no-as-needed
/local.toadette/aliang/packages/llvm-2.7/llvm-gcc/lib/gcc/i686-pc-linux-gnu/4.2.1/crtend.o
/usr/lib/crtn.o
>> http://pages.cs.wisc.edu/~aliang/goldAndDebugTest.tar.gz
> There is also something strange with these files, buf.o is actually a
> .tar.gz file :-)
Updated. Sorry about that.
Thanks,
Guoliang
2010 Jul 20
0
[LLVMdev] gold and debug information
> export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH"
> export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm"
> export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm"
> export RANLIB=/bin/true
> export CFLAGS="-O4 -g"
>
> then configure, make, and then hit the error.
>
> The error only happens if
2010 Jul 20
4
[LLVMdev] gold and debug information
On 7/20/2010 1:25 AM, Eli Friedman wrote:
> On Mon, Jul 19, 2010 at 11:06 PM, Guoliang Jin<jingl1345 at gmail.com> wrote:
>> Hi,
>>
>> I would like to get the whole program bitcode with debug information in it.
>>
>> I tried to use CFLAGS = "-O4 -g", but it ends with the following error:
>> collect2: ld terminated with signal 6 [Aborted]