This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/8] Add --with-system-zlib in bfd
- From: Antoine Tremblay <antoine dot tremblay at ericsson dot com>
- To: <gdb-patches at sourceware dot org>, <hjl dot tools at gmail dot com>
- Date: Mon, 30 Mar 2015 15:33:22 -0400
- Subject: Re: [PATCH 1/8] Add --with-system-zlib in bfd
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOp9RHgjnG3JpfSFXsyT4jwutoC7FWTWFzfoKEnT0GC48Q at mail dot gmail dot com> <1427730751 dot 30498 dot 4 dot camel at ubuntu-sellcey> <CAMe9rOqOPtZ5xD=cP_O-QajKdq8hhgnSFsjFvc+OEyAqrpwoHw at mail dot gmail dot com> <55197D8E dot 7070208 at codesourcery dot com> <CAMe9rOp_RvPPu4HuQDzcH5DwsRs5ViBW=5G5zOC0uvvmu-A25g at mail dot gmail dot com> <1427735607 dot 30498 dot 7 dot camel at ubuntu-sellcey> <CAMe9rOp7UDCMe0vP=uv8Tzh==Je9nyKV=bvHEJoPdvW8Y4Vksg at mail dot gmail dot com> <1427736975 dot 30498 dot 8 dot camel at ubuntu-sellcey>
On 03/30/2015 01:36 PM, Steve Ellcey wrote:
On Mon, 2015-03-30 at 10:21 -0700, H.J. Lu wrote:
master branch is fixed now.
Yes, my build is working now. Thanks.
Could there still be something missing ?
Doing a ./configure && make on binutils-gdb I get :
gcc -g -O2 -static-libstdc++ -static-libgcc \
-o gdb gdb.o ...
../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lmcheck -ldl
-lncurses -lm -ldl -lexpat ../libiberty/libiberty.a
build-gnulib/import/libgnu.a -ldl
-Wl,--dynamic-list=../../gdb/proc-service.list
../bfd/libbfd.a(compress.o): In function `decompress_contents':
/home/x/src/binutils-gdb/build/bfd/../../bfd/compress.c:46: undefined
reference to `inflateInit_'
/home/x/src/binutils-gdb/build/bfd/../../bfd/compress.c:53: undefined
reference to `inflate'
/home/x/src/binutils-gdb/build/bfd/../../bfd/compress.c:56: undefined
reference to `inflateReset'
/home/x/src/binutils-gdb/build/bfd/../../bfd/compress.c:58: undefined
reference to `inflateEnd'
../bfd/libbfd.a(compress.o): In function `bfd_compress_section_contents':
/home/x/src/binutils-gdb/build/bfd/../../bfd/compress.c:79: undefined
reference to `compressBound'
/home/x/src/binutils-gdb/build/bfd/../../bfd/compress.c:85: undefined
reference to `compress'
Note this is with d2d67aea8e776d63a987f8dcdb96bc524df96e81
On ubuntu 14.04
I do see zlib being built it just seems like the .a is missing from the
linking... ?
Regards,
Antoine