OpenCores
no use no use 1/1 no use no use
BUILD GNU ToolChains Error
by bil on Feb 2, 2014
bil
Posts: 6
Joined: Aug 30, 2013
Last seen: Feb 9, 2021
Hi all
I'm trying to install the GNU toolchains from source on Ubuntu 13.10 (64bits). after runing i get this error:

make[2]: *** [bfd.info] Error 1
make[2]: Leaving directory `/home/billel/gnu-stable/bd-elf/bfd/doc'
Making info in po
make[2]: Entering directory `/home/billel/gnu-stable/bd-elf/bfd/po'
( if test 'x../../../unisrc/bfd/po' != 'x.'; then \
posrcprefix='../../../unisrc/bfd/'; \
else \
posrcprefix="../"; \
fi; \
rm -f SRC-POTFILES-t SRC-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s@.*@ $posrcprefix& \\\\@" | sed -e '$s/\\$//') > SRC-POTFILES-t \
&& chmod a-w SRC-POTFILES-t \
&& mv SRC-POTFILES-t SRC-POTFILES )
( rm -f BLD-POTFILES-t BLD-POTFILES \
&& (sed -e '/^#/d' \
-e '/^[ ]*$/d' \
-e "s@.*@ ../& \\\\@" | sed -e '$s/\\$//') > BLD-POTFILES-t \
&& chmod a-w BLD-POTFILES-t \
&& mv BLD-POTFILES-t BLD-POTFILES )
cd .. \
&& CONFIG_FILES=po/Makefile.in:po/Make-in \
CONFIG_HEADERS= /bin/bash ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[2]: Leaving directory `/home/billel/gnu-stable/bd-elf/bfd/po'
make[2]: Entering directory `/home/billel/gnu-stable/bd-elf/bfd/po'
make[2]: Nothing to be done for `info'.
make[2]: Leaving directory `/home/billel/gnu-stable/bd-elf/bfd/po'
make[2]: Entering directory `/home/billel/gnu-stable/bd-elf/bfd'
make[2]: Nothing to be done for `info-am'.
make[2]: Leaving directory `/home/billel/gnu-stable/bd-elf/bfd'
make[1]: *** [info-recursive] Error 1
make[1]: Leaving directory `/home/billel/gnu-stable/bd-elf/bfd'
make: *** [all-bfd] Error 2
make (all-build all-binutils all-gas all-ld) failed.


i read in other topic intituled "GNU toolchains from source on Ubuntu problem", that this errors is due to the incompatibility problem with new version of ubuntu, so witch version is suitable to build the toolchains without any error? is there any difference between 32 and 64 bits version?
best Regards
thanks
RE: BUILD GNU ToolChains Error
by indirasulo on Feb 4, 2014
indirasulo
Posts: 29
Joined: Jan 12, 2012
Last seen: Sep 26, 2014
Hi!

I don't think this is 32/64-bit related. Could you please show the steps you are doing?

There are different ways to build the toolchain. If you don't understand what's has gone wrong, you can try them:
from OC wiki: http://opencores.org/or1k/OpenRISC_GNU_tool_chain
from openrisc.net: http://openrisc.net/toolchain-build.html
In the topic you've mentioned someone proposed that you could try building lastest toolchain instead of stable v4.6.

And the output you've provided doesn't show the operation that failed. You can upload full log to some external service like pastebin.org and post the link here.
RE: BUILD GNU ToolChains Error
by bil on Feb 5, 2014
bil
Posts: 6
Joined: Aug 30, 2013
Last seen: Feb 9, 2021
Hi,
I try to follow the same steps in given by the 2 links, but still have the same error. So i think my be because im using a new verson version of ubuntu (64bits)?
RE: BUILD GNU ToolChains Error
by aikijw on Feb 5, 2014
aikijw
Posts: 76
Joined: Oct 21, 2011
Last seen: Jul 8, 2023
Not sure if this is related (or if this is still an issue), but I've had enormous trouble trying to build the toolchain on a machine with an encrypted file system... Once I re-hosted my development environment on a machine that wasn't using encfs file systems, the unusual issues disappeared... Are you guys, by any chance, building on an encfs file system? It's been more than a year since I last built, so I may be remembering the issue incorrectly...
no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.