Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376368 Details for
Bug 509564
sys-libs/zlib-1.2.8-r1: emake complains about relocation, should enable -fPIC in ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Build log
file_509564.txt (text/plain), 15.65 KB, created by
Romain Baugue
on 2014-05-04 19:44:19 UTC
(
hide
)
Description:
Build log
Filename:
MIME Type:
Creator:
Romain Baugue
Created:
2014-05-04 19:44:19 UTC
Size:
15.65 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: sys-libs/zlib-1.2.8-r1 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: base-system@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux minizip policykit userland_GNU >[32;01m * [39;49;00mFEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking zlib-1.2.8.tar.gz to /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work >>>> Source unpacked in /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work >>>> Preparing source in /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8 ... > [32;01m*[0m Running eautoreconf in '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8/contrib/minizip' ... > [32;01m*[0m Running libtoolize --install --copy --force --automake ... >[A[128C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running aclocal ... >[A[128C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running autoconf ... >[A[128C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running automake --add-missing --copy --foreign --force-missing ... >[A[128C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running elibtoolize in: zlib-1.2.8/contrib/minizip/ > [32;01m*[0m Applying portage/1.2.0 patch ... > [32;01m*[0m Applying sed/1.5.6 patch ... > [32;01m*[0m Applying as-needed/2.4.2 patch ... > [32;01m*[0m Applying target-nm/2.4.2 patch ... > [32;01m*[0m Will copy sources from /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8 > [32;01m*[0m amd64: copying to /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8-amd64 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8 ... > [32;01m*[0m amd64: running multilib-minimal_abi_src_configure >./configure --shared --prefix=/usr --libdir=/usr/lib64 --uname=linux >Using ar >Checking for amd64-pc-linux-gnu-gcc... >Checking for shared library support... >No shared library support; try without defining CC and CFLAGS >Building static library libz.a version 1.2.8 with cc. >Checking for off64_t... Yes. >Checking for fseeko... Yes. >Checking for strerror... Yes. >Checking for unistd.h... Yes. >Checking for stdarg.h... Yes. >Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). >Checking for vsnprintf() in stdio.h... Yes. >Checking for return value of vsnprintf()... Yes. > * econf: updating zlib-1.2.8/contrib/minizip/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating zlib-1.2.8/contrib/minizip/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating zlib-1.2.8-amd64/contrib/minizip/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating zlib-1.2.8-amd64/contrib/minizip/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=amd64-pc-linux-gnu --host=amd64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-static >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking for style of include used by make... GNU >checking for amd64-pc-linux-gnu-gcc... no >checking for gcc... gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ISO C89... none needed >checking dependency style of gcc... none >checking for a sed that does not truncate output... /bin/sed >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for fgrep... /bin/grep -F >checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B >checking the name lister (/usr/bin/nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking whether the shell understands some XSI constructs... yes >checking whether the shell understands "+="... yes >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for amd64-pc-linux-gnu-objdump... no >checking for objdump... objdump >checking how to recognize dependent libraries... pass_all >checking for amd64-pc-linux-gnu-dlltool... no >checking for dlltool... no >checking how to associate runtime and link libraries... printf %s\n >checking for amd64-pc-linux-gnu-ar... no >checking for ar... ar >checking for archiver @FILE support... @ >checking for amd64-pc-linux-gnu-strip... no >checking for strip... strip >checking for amd64-pc-linux-gnu-ranlib... no >checking for ranlib... ranlib >checking command to parse /usr/bin/nm -B output from gcc object... ok >checking for sysroot... no >checking for amd64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking how to run the C preprocessor... gcc -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if gcc supports -fno-rtti -fno-exceptions... no >checking for gcc option to produce PIC... -fPIC -DPIC >checking if gcc PIC flag -fPIC -DPIC works... yes >checking if gcc static flag -static works... yes >checking if gcc supports -c -o file.o... yes >checking if gcc supports -c -o file.o... (cached) yes >checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking whether to build example programs... no >checking for unistd.h... (cached) yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating minizip.pc >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8 ... > [32;01m*[0m amd64: running multilib-minimal_abi_src_compile >make -j2 >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -I. -c -o example.o test/example.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o adler32.o adler32.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o deflate.o deflate.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o infback.o infback.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o inffast.o inffast.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o inflate.o inflate.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o inftrees.o inftrees.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o trees.o trees.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o zutil.o zutil.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o compress.o compress.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o uncompr.o uncompr.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o gzclose.o gzclose.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o gzlib.o gzlib.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o gzread.o gzread.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -c -o gzwrite.o gzwrite.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -I. -c -o minigzip.o test/minigzip.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c >ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -o example example.o -L. libz.a >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -o minigzip minigzip.o -L. libz.a >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -o minigzip64 minigzip64.o -L. libz.a >cc -march=native -O2 -pipe -D_LARGEFILE64_SOURCE=1 -o example64 example64.o -L. libz.a >make -j2 -C contrib/minizip >make: Entering directory `/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8-amd64/contrib/minizip' >/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"minizip\" -DPACKAGE_TARNAME=\"minizip\" -DPACKAGE_VERSION=\"1.2.8\" -DPACKAGE_STRING=\"minizip\ 1.2.8\" -DPACKAGE_BUGREPORT=\"bugzilla.redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"minizip\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -march=native -O2 -pipe -c -o ioapi.lo ioapi.c >/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"minizip\" -DPACKAGE_TARNAME=\"minizip\" -DPACKAGE_VERSION=\"1.2.8\" -DPACKAGE_STRING=\"minizip\ 1.2.8\" -DPACKAGE_BUGREPORT=\"bugzilla.redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"minizip\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -march=native -O2 -pipe -c -o mztools.lo mztools.c >libtool: compile: gcc -DPACKAGE_NAME=\"minizip\" -DPACKAGE_TARNAME=\"minizip\" -DPACKAGE_VERSION=\"1.2.8\" "-DPACKAGE_STRING=\"minizip 1.2.8\"" -DPACKAGE_BUGREPORT=\"bugzilla.redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"minizip\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -march=native -O2 -pipe -c ioapi.c -fPIC -DPIC -o .libs/ioapi.o >libtool: compile: gcc -DPACKAGE_NAME=\"minizip\" -DPACKAGE_TARNAME=\"minizip\" -DPACKAGE_VERSION=\"1.2.8\" "-DPACKAGE_STRING=\"minizip 1.2.8\"" -DPACKAGE_BUGREPORT=\"bugzilla.redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"minizip\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -march=native -O2 -pipe -c mztools.c -fPIC -DPIC -o .libs/mztools.o >/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"minizip\" -DPACKAGE_TARNAME=\"minizip\" -DPACKAGE_VERSION=\"1.2.8\" -DPACKAGE_STRING=\"minizip\ 1.2.8\" -DPACKAGE_BUGREPORT=\"bugzilla.redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"minizip\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -march=native -O2 -pipe -c -o unzip.lo unzip.c >/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"minizip\" -DPACKAGE_TARNAME=\"minizip\" -DPACKAGE_VERSION=\"1.2.8\" -DPACKAGE_STRING=\"minizip\ 1.2.8\" -DPACKAGE_BUGREPORT=\"bugzilla.redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"minizip\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -march=native -O2 -pipe -c -o zip.lo zip.c >libtool: compile: gcc -DPACKAGE_NAME=\"minizip\" -DPACKAGE_TARNAME=\"minizip\" -DPACKAGE_VERSION=\"1.2.8\" "-DPACKAGE_STRING=\"minizip 1.2.8\"" -DPACKAGE_BUGREPORT=\"bugzilla.redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"minizip\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -march=native -O2 -pipe -c unzip.c -fPIC -DPIC -o .libs/unzip.o >libtool: compile: gcc -DPACKAGE_NAME=\"minizip\" -DPACKAGE_TARNAME=\"minizip\" -DPACKAGE_VERSION=\"1.2.8\" "-DPACKAGE_STRING=\"minizip 1.2.8\"" -DPACKAGE_BUGREPORT=\"bugzilla.redhat.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"minizip\" -DVERSION=\"1.2.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -march=native -O2 -pipe -c zip.c -fPIC -DPIC -o .libs/zip.o >/bin/sh ./libtool --tag=CC --mode=link gcc -march=native -O2 -pipe -L./../.. -version-info 1:0:0 -lz -Wl,-O1 -Wl,--as-needed -o libminizip.la -rpath /usr/lib64 ioapi.lo mztools.lo unzip.lo zip.lo >libtool: link: gcc -shared -fPIC -DPIC .libs/ioapi.o .libs/mztools.o .libs/unzip.o .libs/zip.o -L./../.. -lz -Wl,--as-needed -march=native -O2 -Wl,-O1 -Wl,-soname -Wl,libminizip.so.1 -o .libs/libminizip.so.1.0.0 >/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: ./../../libz.a(crc32.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC >./../../libz.a: could not read symbols: Bad value >collect2: error: ld returned 1 exit status >make: *** [libminizip.la] Error 1 >make: Leaving directory `/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8-amd64/contrib/minizip' > [31;01m*[0m ERROR: sys-libs/zlib-1.2.8-r1::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-libs/zlib-1.2.8-r1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-libs/zlib-1.2.8-r1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/sys-libs:zlib-1.2.8-r1:20140504-182242.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8-amd64' > [31;01m*[0m S: '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 509564
: 376368