On Sat, Apr 26, 2008 at 08:38:51PM +0200, Jörg Sommer wrote:
> Hallo Kurt,
> 
> 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.  It
fails with dpkg-dev 1.14.18 and it works with 1.14.16.6.

The new dpkg sets default values for things like CFLAGS and LDFLAGS.

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
collect2: ld returned 1 exit status


While a working one had this in it:
configure:2586: checking for C compiler default output file name
configure:2613: gcc -Wall -g -O2 -fPIC -fPIE -fstack-protector -Wformat=2 
-Wextra -D_FORTIFY_SOURCE=2   conftest.c  >&5
configure:2616: $? = 0


Kurt




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

Reply via email to