You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 againsta 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.
The text was updated successfully, but these errors were encountered:
If you look at the OPTIM definition, you'll find both -fpie and -fPIC.
The issue appears to be that the DSO flags don't include -pie, however that brings up an issue of the pthreads library which apparently needs to be explicitly listed with -pie, but not normally...
I'll see what I can do to get things to compile with --enable-pie, but it isn't something we normally build or test with...
Version: 1.2rc3
CUPS.org User: kssingvo.suse
./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.
The text was updated successfully, but these errors were encountered: