From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40144 invoked by alias); 30 Mar 2015 19:33:28 -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 40129 invoked by uid 89); 30 Mar 2015 19:33:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 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; Mon, 30 Mar 2015 19:33:26 +0000 Received: from EUSAAHC005.ericsson.se (Unknown_Domain [147.117.188.87]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id 79.9E.12456.6FE49155; Mon, 30 Mar 2015 15:26:14 +0200 (CEST) Received: from [142.133.110.95] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.89) with Microsoft SMTP Server id 14.3.210.2; Mon, 30 Mar 2015 15:33:22 -0400 Message-ID: <5519A502.8040001@ericsson.com> Date: Mon, 30 Mar 2015 19:33: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: , 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> In-Reply-To: <1427736975.30498.8.camel@ubuntu-sellcey> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg01011.txt.bz2 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