View previous topic :: View next topic |
Author |
Message |
axpuser n00b
Joined: 22 Oct 2007 Posts: 3
|
Posted: Mon Oct 22, 2007 3:41 pm Post subject: emerge -u binutils fails (Alpha, 2007.0) |
|
|
Hi all,
emerge -u binutils fails on my system with a fresh 2007.0 installation, the tree
is current as of today. The box is an AS800. Google gives only links to closed bugs
with binutils. I found one that "sanitized headers" are ok now, but if I did not
miss it, many archs said "stable", Alpha did not.
First, after install, building kernel modules failed, so I built a monolithic
kernel and that is booting and running fine now.
After booting, emerge -puD world failed in binutils with some reference to PAGE_SIZE.
Then I thought to update things like glibc and gcc first, but they want the new binutils.
And these won't build. See below. I am absolutely stuck. Can anybody point me to a solution?
thanks...
-----
libtool: compile: alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I. -DTRAD_CORE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mieee -pipe -O2 -mcpu=ev56 -c /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/cpu-alpha.c -o cpu-alpha.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=compile alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I. -DTRAD_CORE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mieee -pipe -O2 -mcpu=ev56 -c -o trad-core.lo /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c
libtool: compile: alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I. -DTRAD_CORE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mieee -pipe -O2 -mcpu=ev56 -c /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c -fPIC -DPIC -o .libs/trad-core.o
In file included from /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c:45:
/usr/include/sys/user.h:26:22: error: asm/page.h: No such file or directory
/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c: In function 'trad_unix_core_file_p':
/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c:122: error: 'PAGE_SIZE' undeclared (first use in this function)
/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c:122: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/trad-core.c:122: error: for each function it appears in.)
make[4]: *** [trad-core.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I. -DTRAD_CORE -I. -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd -I/var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mieee -pipe -O2 -mcpu=ev56 -c /var/tmp/portage/sys-devel/binutils-2.18-r1/work/binutils-2.18/bfd/elf32.c -o elf32.o >/dev/null 2>&1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18-r1/work/build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.18-r1/work/build'
make: *** [all] Error 2
*
* ERROR: sys-devel/binutils-2.18-r1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called toolchain-binutils_src_compile
* toolchain-binutils.eclass, line 225: Called die
*
* emake failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.18-r1/temp/build.log'.
*
* Messages for package sys-devel/binutils-2.18-r1:
*
* ERROR: sys-devel/binutils-2.18-r1 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called toolchain-binutils_src_compile
* toolchain-binutils.eclass, line 225: Called die
*
* emake failed |
|
Back to top |
|
|
libero Tux's lil' helper
Joined: 26 Mar 2004 Posts: 87 Location: Tokyo
|
Posted: Thu Oct 25, 2007 4:49 am Post subject: |
|
|
hi
this reference is pretty good for checking versions:
http://www.gentoo-portage.com/sys-devel/binutils
If nothing else works for you soon, I would give a shot at trying to install a different version of binutils, though I can't say just which one yet. To do this, you can edit either /etc/portage/package.mask or maybe /etc/portage/package.keywords I think. Either mask the one you tried using package.mask, or try some other ~alpha version listed there using package.keywords. Or some combination like that.
I have a reference here FYI for syntax of the mask file:
http://www.celebrazio.net/tech/unix/gentoo_maint.html
Good luck
Leo |
|
Back to top |
|
|
YosWinK Retired Dev
Joined: 02 Jan 2004 Posts: 285 Location: vallekas citi.
|
Posted: Mon Oct 29, 2007 2:17 pm Post subject: Re: emerge -u binutils fails (Alpha, 2007.0) |
|
|
axpuser wrote: | Hi all,
emerge -u binutils fails on my system with a fresh 2007.0 installation, the tree
is current as of today. The box is an AS800. Google gives only links to closed bugs
with binutils. I found one that "sanitized headers" are ok now, but if I did not
miss it, many archs said "stable", Alpha did not.
First, after install, building kernel modules failed, so I built a monolithic
kernel and that is booting and running fine now.
|
I'm afraid that your problem is with the profile or/and with linux-headers. This kind of errors are much more easy and quick to fix if you report a bug in bugs.gentoo.org and attach there your emerge --info. I will give it a look there.
Thanks! _________________ Mi G-Blog
Manuales Oficiales de instalación Gentoo (handbook) en castellano y actualizados. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|