This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/8] Add --with-system-zlib in bfd




On 03/30/2015 03:33 PM, Antoine Tremblay wrote:

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... ?


Also doing ./configure in binutils/zlib I get :

config.status: creating Makefile
config.status: executing default-1 commands
./config.status: line 1190: ./../../config-ml.in: No such file or directory

So configure does not exit cleanly...ideas?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]