Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18626 - gcc-2.95.3 emerge fails on Alpha
Summary: gcc-2.95.3 emerge fails on Alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Alpha Linux
: High major (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-02 02:54 UTC by Jacob Joseph
Modified: 2003-06-10 05:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Joseph 2003-04-02 02:54:37 UTC
On the Alpha platform, gcc-2.95.3-r7 and gcc-2.95.3-r8 do not compile.  I am 
using gcc 3.2.2.  Here's the tail end of the failure: 
 
./xgcc -B/usr/alpha-unknown-linux-gnu/bin/ -B./ 
-I/usr/alpha-unknown-linux-gnu/include -c -o crtbegin.o -x assembler 
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/config/alpha/crtbegin.asm 
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/config/alpha/crtbegin.asm: 
Assembler messages: 
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/config/alpha/crtbegin.asm:118: 
Error: symbol `__dso_handle' is already defined 
make[2]: *** [crtbegin.o] Error 1 
make[2]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc' 
make[1]: *** [bootstrap-lean] Error 2 
make[1]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc' 
make: *** [bootstrap-lean] Error 2 
 
If the patches in portage are not applied by the ebuild, gcc compiles perfectly.  
So, we either need to check if the platform is x86 before patching, or not apply 
the patches at all.  I'm glad to help out if someone can point me in the right 
direction.  I currently have my own ebuild that applies no patches. 
 
Jacob Joseph 
AUTON Lab (www.autonlab.org) 
Carnegie Mellon University
Comment 1 Jacob Joseph 2003-04-03 10:55:46 UTC
My original post seems to have disappeared during the upgrade of bugs.gentoo.org.  
I'll repost: 
 
On the Alpha platform, gcc-2.95.3-r7 and gcc-2.95.3-r8 do not compile.  I am 
using gcc 3.2.2.  Here's the tail end of the failure:  
  
./xgcc -B/usr/alpha-unknown-linux-gnu/bin/ -B./  
-I/usr/alpha-unknown-linux-gnu/include -c -o crtbegin.o -x assembler 
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/config/alpha/crtbegin.asm 
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/config/alpha/crtbegin.asm:  
Assembler messages: 
/var/tmp/portage/gcc-2.95.3-r8/work/gcc-2.95.3/gcc/config/alpha/crtbegin.asm:118: 
 
Error: symbol `__dso_handle' is already defined 
make[2]: *** [crtbegin.o] Error 1 
make[2]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc'  
make[1]: *** [bootstrap-lean] Error 2 
make[1]: Leaving directory `/var/tmp/portage/gcc-2.95.3-r8/work/build/gcc' 
make: *** [bootstrap-lean] Error 2  
 
If the patches in portage are not applied by the ebuild, gcc compiles perfectly. So, 
we either need to check if the platform is x86 before patching, fix the patches for 
Alpha compatibility, or not apply the patches at all.  I'm glad to help out if someone 
can point me in the right direction.  I currently have my own ebuild that applies no 
patches. 
 
Jacob Joseph 
AUTON Lab (www.autonlab.org) 
Carnegie Mellon University 
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-05-27 13:42:30 UTC
Reassigning because Chouser no longer has an Alpha system...
Comment 3 Tavis Ormandy (RETIRED) gentoo-dev 2003-06-10 05:18:18 UTC
Found a more complete Alpha patch on the AXP lists, fixed in cvs.

reporter: please emerge sync and test my changes, if you still have a problem you can REOPEN this bug.