Thomas,

> Le jeudi 24 janvier 2013 11:35:30, Thomas Preud'homme a écrit :
> > 
> > I finally got around to look in this last failure. I just started
> > but the good news is that it's limited to the -run function. There
> > is no problem when compiling the example. Objdump shows it's the
> > exact same code in both case. So it's probably a relocation bug.
> 
> Ok got it. Fix attached. I'm not sure about the comments though, as I
> don't have all the details in my mind. Let me explain a bit what's
> going on and you might have idea about the details.

Worked for me. Thank you for the fix!

$ git pull
...
From git://repo.or.cz/tinycc
   e92dbe4..de35a33  mob        -> origin/mob
Updating e92dbe4..de35a33
...

$ gcc --version
gcc (Gentoo 4.6.3 p1.9, pie-0.5.2) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
$ ./configure --prefix=/usr/local/ && make clean all test
(all tests passed)
$ su
# make install
# exit

$ CC=/usr/local/bin/tcc LD=/usr/local/bin/tcc ./configure \
  --prefix=/usr/local/
$ make clean all test CC=/usr/local/bin/tcc LD=/usr/local/bin/tcc
(all tests passed)
$ su
# make install
# exit

$ CC=/usr/local/bin/tcc LD=/usr/local/bin/tcc ./configure \
  --prefix=/usr/local/
$ make clean all test CC=/usr/local/bin/tcc LD=/usr/local/bin/tcc
(all tests passed)

Regards,
Didier

Attachment: signature.asc
Description: PGP signature

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

Reply via email to