[cups.bugs] [MOD] STR #1609: configure --enable-pie fails
kssingvo.suse
kssingvo at suse.de
Wed Apr 26 10:26:20 PDT 2006
[STR New]
../configure [...] --enable-pie [...]
results in this site-effect errors in config.log [AMD64]:
----------------------------------------------------------------------
configure:9146: checking for jpeg_destroy_decompress in -ljpeg
configure:9176: gcc -o conftest -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector
-Wl,-rpath,/usr/lib64 -pie conftest.c -ljpeg -lcrypt >&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
/tm
p/ccQmbv7G.o: relocation R_X86_64_32 against `a local symbol' can not be
used when making a shared object; recompile with -fPIC
/tmp/ccQmbv7G.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
[...]
configure:9208: result: no
[...]
configure:9365: checking for gzgets in -lz
configure:9395: gcc -o conftest -O2 -fmessage-length=0 -Wall
-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector
-Wl,-rpath,/usr/lib64 -pie conftest.c -lz -lcrypt >&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
/tmp/ccqRIYvY.o: relocation R_X86_64_32 against `a local symbol' can not
be used when making a shared object; recompile with -fPIC
/tmp/ccqRIYvY.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
[...]
configure:9427: result: no
[... and many more ...]
----------------------------------------------------------------------
I think it's mandatory to compile with '-fPic', if compiling with '-pie'
on amd64 processors. Please add it to the configure options.
Link: http://www.cups.org/str.php?L1609
Version: 1.2rc3
More information about the cups
mailing list