From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121262 invoked by alias); 31 Mar 2015 12:08:11 -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 121238 invoked by uid 89); 31 Mar 2015 12:08:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg20.ericsson.net Received: from usevmg20.ericsson.net (HELO usevmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 31 Mar 2015 12:08:09 +0000 Received: from EUSAAHC008.ericsson.se (Unknown_Domain [147.117.188.96]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id 64.CC.12456.1183A155; Tue, 31 Mar 2015 08:00:49 +0200 (CEST) Received: from [142.133.110.95] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.98) with Microsoft SMTP Server id 14.3.210.2; Tue, 31 Mar 2015 08:08:06 -0400 Message-ID: <551A8E26.2070204@ericsson.com> Date: Tue, 31 Mar 2015 12:08:00 -0000 From: Antoine Tremblay User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "H.J. Lu" CC: GDB Subject: Re: [PATCH 1/8] Add --with-system-zlib in bfd 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> In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg01035.txt.bz2 On 03/30/2015 04:19 PM, H.J. Lu wrote: > 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? > That branch builds... but I need to use master... I'll have to wait until you reach an agreement with Pedro to build again it seems :( Antoine