tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Support -Wl,opt -Wl,arg syntax


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] Support -Wl,opt -Wl,arg syntax
Date: Fri, 16 Mar 2012 19:25:56 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; )

Le vendredi 16 mars 2012 00:39:37, grischka a écrit :
> Thomas Preud'homme wrote:
> > Can you give me an example which fails for you?
> 
> $ tcc libtcc.c -DONE_SOURCE -shared -o libtcc.so -ldl
I had to add -DTCC_IS_NATIVE
> $ tcc tests/libtcc_test.c -I. -o libtcc_test libtcc.so -ldl
> -Wl,-rpath=`pwd` $ ./libtcc_test
> ./libtcc_test: error while loading shared libraries: libtcc.so: cannot open
> shared object file: No such file or directory
Fixed. Note that with or without the change this fails:

./libtcc_test: Symbol `tcc_relocate' causes overflow in R_X86_64_PC32 
relocation
./libtcc_test: Symbol `tcc_set_lib_path' causes overflow in R_X86_64_PC32 
relocation
./libtcc_test: Symbol `stderr' causes overflow in R_X86_64_PC32 relocation

But then it is unrelated to the commit.
> 
> --- grischka
Best regards,

Thomas Preud'homme
> 
> 
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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