OpenCores
no use no use 1/1 no use no use
GNU toolchains from source on Ubuntu problem
by tobil on Jan 7, 2014
tobil
Posts: 17
Joined: Jun 22, 2008
Last seen: Nov 22, 2018
Hi,

I'm trying to install the GNU toolchains from source on Ubuntu 13.04.

After running: ./bld-all.sh with the right options I get:

[snippy]
Making info in po
make[2]: Entering directory '/home/tobil/openrisc/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/tobil/openrisc/gnu-stable/bd-elf/bfd/po'
make[2]: Entering directory '/home/tobil/openrisc/gnu-stable/bd-elf/bfd/po'
make[2]: Nothing to do in this directory.
make[2]: Leaving directory '/home/tobil/openrisc/gnu-stable/bd-elf/bfd/po'
make[2]: Entering directory '/home/tobil/openrisc/gnu-stable/bd-elf/bfd'
make[2]: Nothing to do in this directory.
make[2]: Leaving directory '/home/tobil/openrisc/gnu-stable/bd-elf/bfd'
make[2]: *** [bfd.info] Error 1
make[1]: Leaving directory '/home/tobil/openrisc/gnu-stable/bd-elf/bfd'
make[1]: *** [info-recursive] Error 1
make: *** [all-bfd] Error 2
make (all-build all-binutils all-gas all-ld) failed.
[snappy]

Is there anyone who can help me with this ?

Thanks a lot in advance,

Cheers, Tobias
RE: GNU toolchains from source on Ubuntu problem
by jeremybennett on Jan 8, 2014
jeremybennett
Posts: 815
Joined: May 29, 2008
Last seen: Jun 13, 2019
Tobias - is there anything more in the log file? Search backwards for the string "error:"


Jeremy
RE: GNU toolchains from source on Ubuntu problem
by tobil on Jan 8, 2014
tobil
Posts: 17
Joined: Jun 22, 2008
Last seen: Nov 22, 2018
Jeremy - thanks for trying to help.

Nope, no Error reported earlier.

Looks like I failed with x86 pre-build, x86 build on cygwin, Ubuntu pre-build (can't find library) and now on Ubuntu build as well. Not really lucky.

Cheers, Tobias
RE: GNU toolchains from source on Ubuntu problem
by stekern on Jan 15, 2014
stekern
Posts: 84
Joined: Apr 28, 2009
Last seen: Nov 10, 2016
I can only guess since you are not posting the actual error.
But there is an incompatibility problem with the texinfo package
in newer Linux distribution that is incompatible with the old or32
toolchain.
RE: GNU toolchains from source on Ubuntu problem
by tobil on Jan 15, 2014
tobil
Posts: 17
Joined: Jun 22, 2008
Last seen: Nov 22, 2018
Hi stekern,

"you are not posting the actual error". Unfort. I don't have more information than that � I guess.

Incompatible problems ??? Sounds great �

Cheers, Tobias
RE: GNU toolchains from source on Ubuntu problem
by stekern on Jan 20, 2014
stekern
Posts: 84
Joined: Apr 28, 2009
Last seen: Nov 10, 2016
You can try the or1k toolchain, that doesn't have that problem.
RE: GNU toolchains from source on Ubuntu problem
by bil on Feb 1, 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) and i get the same error as Tobias, is there any solution?
if this error is due to the incompatibility problem with new version of ubuntu, witch version is suitable to build the toolchains without any error? is there any difference between 32 and 64 bits?

thank you all
RE: GNU toolchains from source on Ubuntu problem
by meitoku on Mar 11, 2014
meitoku
Posts: 26
Joined: Nov 21, 2013
Last seen: Oct 18, 2015
Hi all
I'm trying to install the GNU toolchains from source on Ubuntu 13.10 (64bits) and i get the same error as Tobias, is there any solution?
if this error is due to the incompatibility problem with new version of ubuntu, witch version is suitable to build the toolchains without any error? is there any difference between 32 and 64 bits?

thank you all
The or1k toolchain could be built on both 32-bit and 64-bit linux .I successfully built it on both Ubuntu 12.04 32-bit, Ubuntu 13.10 and Fedora 19 64-bit). The problem in this thread is tobil didn't quote where the program show the error so I can't guess exactly what error is that. Based on my experience with it, I think this error is the most possible: - #Scroll up and find these lines or something that has colophon or cygnus bfd.texinfo: unknown command `colophon'
bfd.texinfo: unknown command `cygnus'
The only way that I know to solve this is to install or1k toolchain from development version because in recent versions, this error has been fixed. Read the wiki for more information.
RE: GNU toolchains from source on Ubuntu problem
by lemonsky on Jan 13, 2015
lemonsky
Posts: 6
Joined: Feb 17, 2011
Last seen: Feb 3, 2015
Hi, meitoku:
I've the same problem on ubuntu/14.04.1, when I try to build "or32" tool chain.(Before that, I've compile/installed teh or1ksim already). Actually, when I sroll up and found the information as you said:
../../../unisrc/bfd/doc/bfd.texinfo:326: unknown command `colophon'
../../../unisrc/bfd/doc/bfd.texinfo:337: unknown command `cygnus'
make[2]: *** [bfd.info] Error 1
===================================================

Andy body know how to solve it?
The reason we want to use "Or32" toolchain is that we think "orpsocv2" project is stable and could by use as reference for study. While in this project, the toolchain are "Or32".
Is there method switch toolchain to "or1k" for project "orpsocv2"?

Thanks!

lemonsky
no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.