From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 106529 invoked by alias); 30 Mar 2015 20:19:57 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 106515 invoked by uid 89); 30 Mar 2015 20:19:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ob0-f182.google.com Received: from mail-ob0-f182.google.com (HELO mail-ob0-f182.google.com) (209.85.214.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 30 Mar 2015 20:19:56 +0000 Received: by obbec2 with SMTP id ec2so690601obb.3 for ; Mon, 30 Mar 2015 13:19:54 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.46.129 with SMTP id v1mr27358622obm.22.1427746794219; Mon, 30 Mar 2015 13:19:54 -0700 (PDT) Received: by 10.76.134.102 with HTTP; Mon, 30 Mar 2015 13:19:53 -0700 (PDT) In-Reply-To: <5519A502.8040001@ericsson.com> References: <1427730751.30498.4.camel@ubuntu-sellcey> <55197D8E.7070208@codesourcery.com> <1427735607.30498.7.camel@ubuntu-sellcey> <1427736975.30498.8.camel@ubuntu-sellcey> <5519A502.8040001@ericsson.com> Date: Mon, 30 Mar 2015 20:19:00 -0000 Message-ID: Subject: Re: [PATCH 1/8] Add --with-system-zlib in bfd From: "H.J. Lu" To: Antoine Tremblay Cc: GDB Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg01016.txt.bz2 On Mon, Mar 30, 2015 at 12: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 \ >> ../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.