[RTEMS Project] #3157: PowerPC tools don't build

RTEMS trac trac at rtems.org
Tue Oct 10 22:53:01 UTC 2017


#3157: PowerPC tools don't build
-------------------------+------------------------------
 Reporter:  Jeff Mayes   |       Owner:  Sebastian Huber
     Type:  defect       |      Status:  reopened
 Priority:  normal       |   Milestone:
Component:  unspecified  |     Version:  4.12
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by Jeff Mayes):

 With Joel's help, I got it to build today.  Here are the changes we made:

 jeff at Win7-VM /opt/rtems-tools/rsb/rtems
 $ git diff config/tools/rtems-binutils-2.29-1.cfg
 diff --git a/rtems/config/tools/rtems-binutils-2.29-1.cfg
 b/rtems/config/tools/rtems-binutils-2.29-1.cfg
 index 6941ebb..87580f8 100644
 --- a/rtems/config/tools/rtems-binutils-2.29-1.cfg
 +++ b/rtems/config/tools/rtems-binutils-2.29-1.cfg
 @@ -20,6 +20,11 @@
  %define with_deterministic_archives 1

  #
 +# Enable 64-bit BFD support
 +#
 +%define with_64_bit_bfd 1
 +
 +#
  # The binutils build instructions. We use 2.xx Release 1.
  #
  %include %{_configdir}/binutils-2-1.cfg

 jeff at Win7-VM /opt/rtems-tools/rsb/rtems
 $ git diff ../source-builder/config/binutils-2-1.cfg
 diff --git a/source-builder/config/binutils-2-1.cfg b/source-
 builder/config/binutils-2-1.cfg
 index 539f076..0b4101d 100644
 --- a/source-builder/config/binutils-2-1.cfg
 +++ b/source-builder/config/binutils-2-1.cfg
 @@ -70,6 +70,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
      --target=%{_target} \
      --verbose --disable-nls \
      %{?with_deterministic_archives:--enable-deterministic-archives} \
 +    %{?with_64_bit_bfd:--enable-64-bit-bfd} \
      %{?with_gold:--enable-gold=yes} \
      %{?with_lto:--enable-lto --enable-plugins}%{!?with_lto:--disable-lto}
 \
      --without-included-gettext \

--
Ticket URL: <http://devel.rtems.org/ticket/3157#comment:9>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list