View previous topic :: View next topic |
Author |
Message |
Jester20 n00b
Joined: 31 May 2004 Posts: 13
|
Posted: Mon May 31, 2004 5:55 pm Post subject: Ultra2 gcc-3.3.3-r5 compile error. |
|
|
I am running a Ultra2, 2x200Mhz US1, 512MiB OPB 3.25 (iirc). Gentoo 2004.1, sparc64 stage 3, 2.4.26 kernel.
#emerge info
Portage 2.0.50-r7 (default-sparc64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.4.26-sparc)
=================================================================
System uname: 2.4.26-sparc sparc64 sun4u
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc64-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb caps crypt curl dedicated fbcon gdbm gif hardenedphp imagemagick imap imlib innodb java jpeg libwww maildir multilib mysql ncurses odbc offensive pam pdflib perl png prelude python readline samba slang sparc sparc64 spell ssl tcltk tcpd tiff vhosts xml2 zlib"
After install was complete and booted into system. I ran
ACCEPT_KEYWORDS="~sparc" emerge --update --deep world
Every thing was fine up until sys-devel/gcc-3.3.3-r5. I received a compile error. Google gives no mention of the error, so I am here.
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/strerror.c:465: warning: static declaration for `sys_nerr' follows non-static
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/strerror.c:466: error: conflicting types for `sys_errlist'
/usr/include/bits/sys_errlist.h:28: error: previous declaration of `sys_errlist'
make[1]: *** [strerror.o] Error 1
make[1]: *** Waiting for unfinished jobs....
gcc -c -DHAVE_CONFIG_H -mcpu=ultrasparc -O2 -I. -I/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/../include -W -Wall -Wtraditional -pedantic /var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/splay-tree.c -o splay-tree.o
make[1]: *** Waiting for unfinished jobs....
gcc -c -DHAVE_CONFIG_H -mcpu=ultrasparc -O2 -I. -I/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/../include -W -Wall -Wtraditional -pedantic /var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/strsignal.c -o strsignal.o
make[1]: *** Waiting for unfinished jobs....
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c: In function `xregcomp':
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c:8043: warning: signed and unsigned type in conditional expression
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c:8082: warning: function `free' was previously declared within a block
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c: In function `xregexec':
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c:8161: warning: function `free' was previously declared within a block
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c: In function `xregerror':
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c:8178: warning: unused parameter `preg'
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c: In function `xregfree':
/var/tmp/portage/gcc-3.3.3-r5/work/gcc-3.3.3/libiberty/regex.c:8227: warning: function `free' was previously declared within a block
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r5/work/build/libiberty'
make: *** [all-libiberty] Error 2
!!! ERROR: sys-devel/gcc-3.3.3-r5 failed.
!!! Function src_compile, Line 552, Exitcode 2
!!! (no error message)
Any suggestions are apprectiated. If you need more info, please let me know. |
|
Back to top |
|
|
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Mon May 31, 2004 6:29 pm Post subject: |
|
|
u might wanna file a bugzilla on that , i saw that error before |
|
Back to top |
|
|
Jester20 n00b
Joined: 31 May 2004 Posts: 13
|
Posted: Mon May 31, 2004 7:08 pm Post subject: |
|
|
=(
will do. |
|
Back to top |
|
|
Jester20 n00b
Joined: 31 May 2004 Posts: 13
|
Posted: Mon May 31, 2004 7:34 pm Post subject: |
|
|
Submitted as Bugzilla Bug 52614 |
|
Back to top |
|
|
hardave Retired Dev
Joined: 12 Nov 2003 Posts: 38 Location: Alberta, Canada
|
Posted: Tue Jun 01, 2004 3:58 pm Post subject: |
|
|
You might want to try building with a proper CHOST first. The only CHOST currently supported on sparc/sparc64 is sparc-unknown-linux-gnu. Anything else is unpredictable and not supported. And before you ask, there are other threads in this forum that discuss 64-bit userland and why it's not currently supported.
*Edit: Might help if I spelled the right CHOST properly |
|
Back to top |
|
|
|