On Sun, Apr 27, 2008 at 02:26:27AM +0200, Jörg Sommer wrote:
> Hallo Kurt,
> 
> Kurt Roeckx schrieb am Sat 26. Apr, 22:17 (+0200):
> > On Sat, Apr 26, 2008 at 08:38:51PM +0200, Jörg Sommer wrote:
> > > Kurt Roeckx schrieb am Sat 26. Apr, 19:33 (+0200):
> > > > Package: slrn
> > > > Version: 0.9.9~pre102-1
> > > > Severity: serious
> > > > 
> > > > Hi,
> > > > 
> > > > Your package is failing to build with the following error:
> > > > checking for gcc... gcc
> > > > checking for C compiler default output file name...
> > > > configure: error: C compiler cannot create executables
> > > > See `config.log' for more details.
> > > 
> > > Can you send me the config.log?
> > 
> > This should be easy to reproduce in a current unstable environment.
> 
> Which compiler version do you use? 4.3?

The default on i386 and amd64 still is gcc-4.2.  The latest version
in unstable is 4.2.3-3.

> > It fails with dpkg-dev 1.14.18 and it works with 1.14.16.6.
> 
> It's not a problem of dpkg, that's a bug of my package.

I know, it's just triggered by a change in dpkg.

> > Anyway, this is what I get in config.log:
> > configure:2586: checking for C compiler default output file name
> > configure:2613: gcc -g -O2 -Wall -g -O2 -fPIC -fPIE -fstack-protector 
> > -Wformat=2 -Wextra -D_FORTIFY_SOURCE=2   -Wl,-zrelro,-pie conftest.c  >&5
> > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib64/crt1.o: 
> > relocation R_X86_64_32S against `__libc_csu_fini' can not be used when 
> > making a shared object; recompile with -fPIC
> > /usr/lib/gcc/x86_64-linux-gnu/4.2.3/../../../../lib64/crt1.o: could not 
> > read symbols: Bad value
>                                 ^^^^^
> Please, update your compiler. There seems to be bug in 4.2.

It is the latest compiler.  And it's also the default one.

Note that it's complaining about /usr/lib/crt1.o which is part of
libc6-dev.  So if anything should be upgraded it's that.  That's also
the latest version: 2.7-10

But I more think that it's a bug in the linker.  If I do it in two
steps, first creating a relocatable object, then the binary it doesn't
give an error.  And binutils is also the latest version:
2.18.1~cvs20080103-4


Kurt




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to