reassign 701461 libc6-dev
thanks

$ dpkg -S crt1.o
libc6-dev:amd64: /usr/lib/x86_64-linux-gnu/crt1.o

Am 23.02.2013 13:55, schrieb Rick Terrel:
> Package: gcc
> Version: 4:4.7.2-1
> Severity: important
> 
> gcc cannot compile programs in amd64 with the -fPIE and -pie security
> flags. It seems that crt1.o is not compiled with -fPIC. I tested this with
> the "transmission" package:
> 
> Flags used:
> 
> export CFLAGS="-pipe -O2 -fPIE"
> export CXXFLAGS="${CFLAGS}"
> export LDFLAGS="-Wl,-pie"
> ./configure
> 
> Terminal output:
> 
> checking whether the C compiler works... no
> configure: error: in `/home/riley/Desktop/transmission-2.77':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> 
> Relevant content in config.log:
> 
> configure:3759: checking whether the C compiler works
> configure:3781: gcc -pipe -O2 -fPIE  -Wl,-pie conftest.c  >&5
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/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.7/../../../x86_64-linux-gnu/crt1.o: could
> not read symbols: Bad value
> collect2: error: ld returned 1 exit status
> 


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5128be26.4090...@debian.org

Reply via email to