Le mardi 29 mai 2012 11:52:29, Mathieu Malaterre a écrit :
> reassign 650757 cmake
> fixed 650757 cmake/2.8.8-3
> thanks
> 
> On Mon, May 28, 2012 at 7:23 PM, Thomas Preud'homme <robo...@celest.fr> 
wrote:
> > Le vendredi 2 décembre 2011 17:25:13, vous avez écrit :
> >> Package: tcc
> >> 
> >> Version: 0.9.25-5
> >> 
> >> Severity: important
> >> 
> >> 
> >> 
> >> 
> >> 
> >> Hi,
> >> 
> >> 
> >> 
> >> I cannot get tcc to compile an executable with shared libs working. It
> >> 
> >> currently fails with:
> >> 
> >> 
> >> 
> >> ../j2k_to_image: Symbol `opj_image_destroy' causes overflow in
> >> 
> >> R_X86_64_PC32 relocation
> >> 
> >> 
> >> 
> >> Thanks
> > 
> > Greetings.
> > 
> > 
> > 
> > Sorry for answering so late.
> > 
> > 
> > 
> > Do you have a sources file (1 main source + 1 for the library) exhibiting
> > the bug that you could share on this bug report? This would help me
> > reproduce the bug.
> > 
> > 
> > 
> > What I tried is:
> > 
> > 
> > 
> > 19:20 robotux@trevize ~/tmp/tcc% cat libfoo.c
> > 
> > #include <stdio.h>
> > 
> > 
> > 
> > void print_foo(void)
> > 
> > {
> > 
> > puts("foo");
> > 
> > }
> > 
> > 19:20 robotux@trevize ~/tmp/tcc% cat main.c
> > 
> > void print_foo(void);
> > 
> > 
> > 
> > int main(void)
> > 
> > {
> > 
> > print_foo();
> > 
> > return 0;
> > 
> > }
> > 
> > 
> > 
> > 19:20 robotux@trevize ~/tmp/tcc% tcc -Wall -shared -soname libfoo.so.1 -o
> > libfoo.so.1.0.0 libfoo.c
> > 
> > 19:20 robotux@trevize ~/tmp/tcc% ln -s libfoo.so.1.0.0 libfoo.so.1
> > 
> > 19:20 robotux@trevize ~/tmp/tcc% ln -s libfoo.so.1.0.0 libfoo.so
> > 
> > 19:20 robotux@trevize ~/tmp/tcc% tcc -Wall -L. -o main main.c -lfoo
> > 
> > 19:20 robotux@trevize ~/tmp/tcc% LD_LIBRARY_PATH=. ./main
> > 
> > foo
> > 
> > 
> > 
> > What I need to know is wether the library was compiled with tcc.
> > According to your initial mail it seems at least the main program was
> > linked with tcc, probably compiled with it too.
> > 
> > 
> > 
> > As I said, I'd also like a testcase if you can provide me one. If you
> > can't make the test minimal, don't worry. I can probably make it minimal
> > or work with what you have.
> > 
> > 
> > 
> > Thanks a lot.
> > 
> > 
> > 
> > Best regards.
> > 
> >> -- System Information:
> >> 
> >> Debian Release: 6.0.1
> 
> As explained on:
> http://bugs.debian.org/650757#24
> 
> This was an issue with the intermediate build generator (cmake in my
> case). This has been solved in cmake 2.8.8.

Good news. I was concerned about this bug staying unresolved before the 
freeze.

> 
> Thanks.

Thanks for your further testing.

Best regards.

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

Reply via email to