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 Mon, Mar 30, 2015 at 12:33 PM, Antoine Tremblay
<antoine.tremblay@ericsson.com> 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    \
>>     ../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'
>                 -o gdb gdb.o ...
>
> 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... ?

Have you tried users/hjl/zlib branch?


-- 
H.J.


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