Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
binutils failing to build on alpha [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Lupin_the_3rd
Apprentice
Apprentice


Joined: 03 Apr 2005
Posts: 168

PostPosted: Tue Aug 21, 2007 6:05 pm    Post subject: binutils failing to build on alpha [solved] Reply with quote

Build failure is below. Note that the error is "error: asm/page.h: No such file or directory" which sounds like a path is wrong somewhere or a symlink is wrong or something. Anyone have any suggestions? TIA!!


/bin/sh ./libtool --mode=compile alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd -I. -DTRAD_CORE -I. -I/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd -I/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mieee -O2 -mcpu=ev56 -pipe -c -o trad-core.lo /var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/trad-core.c
alpha-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd -I. -DTRAD_CORE -I. -I/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd -I/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -mieee -O2 -mcpu=ev56 -pipe -c /var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/trad-core.c -fPIC -DPIC -o .libs/trad-core.o
In file included from /var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/trad-core.c:44:
/usr/include/sys/user.h:26:22: error: asm/page.h: No such file or directory
/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/trad-core.c: In function 'trad_unix_core_file_p':
/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/trad-core.c:117: error: 'PAGE_SIZE' undeclared (first use in this function)
/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/trad-core.c:117: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/binutils-2.17.50.0.16/bfd/trad-core.c:117: error: for each function it appears in.)
make[4]: *** [trad-core.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.17.50.0.16/work/build'
make: *** [all] Error 2

!!! ERROR: sys-devel/binutils-2.17.50.0.16 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1322: 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.17.50.0.16/temp/build.log'.
_________________
Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors)


Last edited by Lupin_the_3rd on Sun Aug 26, 2007 12:38 am; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Aug 23, 2007 4:52 am    Post subject: Reply with quote

Looks like you ran into kernel header changes:

stabilize sanitized headers (sys-kernel/linux-headers-2.6.21)

binutils and alpha are specifically mentioned. More links:

binutils fails to build for some targets (trad-core.c) with sanitized headers

sanitized linux-headers tracker

http://article.gmane.org/gmane.linux.gentoo.devel/46590/

http://sourceware.org/ml/binutils/2007-02/msg00215.html

A newer binutils may have fixed it. Try binutils-2.17.50.0.17 or binutils-2.17.50.0.18 (I'd say .18, as .17 supposedly had some other, unrelated bugs). By the way, your topic is misleading. It's not glibc that's failing at all.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Lupin_the_3rd
Apprentice
Apprentice


Joined: 03 Apr 2005
Posts: 168

PostPosted: Sun Aug 26, 2007 12:38 am    Post subject: Reply with quote

Looks like binutils needs the newer glibc 2.5, but that's failing to build as well.
_________________
Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors)
Back to top
View user's profile Send private message
YosWinK
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 285
Location: vallekas citi.

PostPosted: Fri Aug 31, 2007 8:50 am    Post subject: Reply with quote

Lupin_the_3rd wrote:
Looks like binutils needs the newer glibc 2.5, but that's failing to build as well.


Let's try to solve your problem. Much better using bugzilla for this kind of errors so please, open a bug and remember to provide all the emerge --info in it. Gentoo/Alpha will take care of it.

You can attach the bug number here for the records.
_________________
Mi G-Blog
Manuales Oficiales de instalación Gentoo (handbook) en castellano y actualizados.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
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