From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexey Brodkin Date: Wed, 13 May 2015 20:48:10 +0000 Subject: [Buildroot] [PATCH] package/gcc (arc): backport PR56780 patches In-Reply-To: <1431380716-5176-1-git-send-email-romain.naour@openwide.fr> References: <1431380716-5176-1-git-send-email-romain.naour@openwide.fr> Message-ID: <1431550090.3047.11.camel@synopsys.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Romain, On Mon, 2015-05-11 at 23:45 +0200, Romain Naour wrote: > --disable-install-libiberty configure option is broken > in gcc 4.8.x, so libiberty.a is always installed in HOST_DIR. > > This library broke the host-gdb build due to a fpic/fPIC issue. > > Note: host-binutils-arc-2014.12 install libiberty.a in HOST_DIR > but it was overwritten by the gcc one. The host-binutils's > libiberty.a also broke the host-gdb build. This should be > fixed in a followup patch. > > Signed-off-by: Romain Naour > Cc: Alexey Brodkin > --- > Alexey, --disable-install-libiberty doesn't work > for host-binutils-arc-2014.12. Can you have a look ? > Thanks Indeed our binutils are still based on 2.23 branch and corresponding patches were missing. What I did I just copied your "851-PR-other-56780.patch" to "package/binutils/arc-2014.12" folder and on host-binutils rebuild no libiberty.a was put in "host/usr/lib64". Care to send another patch that adds "851-PR-other-56780.patch" to "package/binutils/arc-2014.12" or should I do it myself? -Alexey