Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
perl-5.8.7 unable to make
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 136
Location: North Texas

PostPosted: Fri Mar 31, 2006 5:42 pm    Post subject: perl-5.8.7 unable to make Reply with quote

perl-5.8.7 will not compile. Here are the first few lines of the topmost build error:

Code:
ks_03_t.c:10243: error: stray '\1' in program
ks_03_t.c:10243:2: warning: null character(s) ignored
ks_03_t.c:10243: error: stray '\30' in program
ks_03_t.c:10243: error: stray '\263' in program
ks_03_t.c:10243: error: stray '\360' in program
ks_03_t.c:10243: error: stray '\27' in program
ks_03_t.c:10243:11: warning: null character(s) ignored
ks_03_t.c:10243: error: syntax error before "P"
ks_03_t.c:10243: error: stray '\30' in program
ks_03_t.c:10243: error: stray '\226' in program
ks_03_t.c:10243: error: stray '\220' in program
ks_03_t.c:10243: error: stray '\30' in program
ks_03_t.c:10243: error: stray '\230' in program
ks_03_t.c:10243: error: stray '\350' in program

These errors continue for approximately 255,600 lines.

Please let me know if you need any additional info.
_________________
Gentoo Linux is groovy, baby! Yeah!
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Mar 31, 2006 6:43 pm    Post subject: Reply with quote

Well, emerge --info is kinda required to get some info, otherwise your scenario is pretty bleak.
I'm almost certain you're running a sparc32 box, that much i know.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 136
Location: North Texas

PostPosted: Fri Mar 31, 2006 6:56 pm    Post subject: Reply with quote

gust4voz wrote:
Well, emerge --info is kinda required to get some info, otherwise your scenario is pretty bleak.
I'm almost certain you're running a sparc32 box, that much i know.

Sorry, I did look around briefly for a sticky on what information to post with these sort of issues and didn't find anything, but I've seen enough messages here that I should've been intelligent enough to at least include emerge --info. ;)

Code:
# emerge --info
Portage 2.0.54 (default-linux/sparc/sparc32/2005.0, gcc-3.3.5-20050130,
 glibc-2.3.3.20040420-r2, 2.4.32-sparc-r2 sparc)
===============================================
System uname: 2.4.32-sparc-r2 sparc sun4m
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-mcpu=supersparc -Os -pipe -fomit-frame-pointer"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
 /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=supersparc -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
 http://cudlug.cudenver.edu/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc acl apache2 berkdb bitmap-fonts bzip2 crypt cups dba dlloader
 dri expat fbcon foomaticdb fortran ftp gd gdbm gif gpm gtk gtk2 imlib jpeg
 libwww mad mhash mikmod motif mysql ncurses nls opengl pam perl php
 png python readline slang smp spell ssl tcpd truetype truetype-fonts
 type1-fonts userlocales xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS,
 PORTDIR_OVERLAY

I just realized my CCACHE is not enabled. I forgot to put it in the /etc/make.conf features. :(
_________________
Gentoo Linux is groovy, baby! Yeah!
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Mar 31, 2006 7:13 pm    Post subject: Reply with quote

ccache won't help you, what's more likely to help you is using the new toolchain on sparc32.
Upgrading can probably be a real pain, basically you've gotta switch profile to 2006.0/2.4 and then follow the gcc-upgrading guide with special attention to the sparc details.
Or you can pick one of the latest stage3 release stages and try that in a chroot to see if it's worth it.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 136
Location: North Texas

PostPosted: Fri Mar 31, 2006 7:30 pm    Post subject: Reply with quote

Found the upgrade guide... I'll try to upgrade to 2006.0/2.4 and let you know how it goes.

Thanks for your advice!
_________________
Gentoo Linux is groovy, baby! Yeah!
Back to top
View user's profile Send private message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 136
Location: North Texas

PostPosted: Fri Mar 31, 2006 7:38 pm    Post subject: Reply with quote

The upgrade guide doesn't appear to have any info past 2005.0. Is there an updated guide somewhere?
_________________
Gentoo Linux is groovy, baby! Yeah!
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Mar 31, 2006 8:16 pm    Post subject: Reply with quote

http://www.gentoo.org/doc/en/gcc-upgrading.xml -> this guide you must follow.
Basically switch profile and do what it says there.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 136
Location: North Texas

PostPosted: Sun Apr 02, 2006 10:17 pm    Post subject: Reply with quote

Perl 5.8.8 compiled successfully after the switch to gcc 3.4.5.
_________________
Gentoo Linux is groovy, baby! Yeah!
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Mon Apr 03, 2006 11:41 am    Post subject: Reply with quote

Thanks for the feedback. I've noted your success at https://bugs.gentoo.org/show_bug.cgi?id=46593 (which is a bug roughly corresponding to your experience.) (But I notice I spelled your name incorrectly. :oops: Apologies.)

Regards,
Back to top
View user's profile Send private message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 136
Location: North Texas

PostPosted: Mon Apr 03, 2006 1:35 pm    Post subject: Reply with quote

It's not really my name. ;-)

By the way, you Gentoo guys are great. I don't think I went or have ever gone over 30 minutes without an answer (or at least a potential answer) to an issue I'm having with my Gentoo installs. Lately I have been dealing with some other issues with various software packages, and most of those queries go unanswered for hours, if not days. Just wanted to give you your props!
_________________
Gentoo Linux is groovy, baby! Yeah!
Back to top
View user's profile Send private message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 136
Location: North Texas

PostPosted: Wed Apr 12, 2006 2:31 pm    Post subject: Reply with quote

One issue... During my emerge -e world, I am getting this message on every package rebuild:

Code:
QA Notice: the following files contain executable stacks
  Files with executable stacks will not work properly (or at all!)
  on some architectures/operating systems. A bug should be filed
  at http://bugs.gentoo.org to make sure the file is fixed.

Is this anything to worry about?
_________________
Gentoo Linux is groovy, baby! Yeah!
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Wed Apr 12, 2006 2:42 pm    Post subject: Reply with quote

Not really, there's a bug open about it.
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
starrbuck
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 136
Location: North Texas

PostPosted: Wed Apr 12, 2006 8:10 pm    Post subject: Reply with quote

Cool. I had tried running some of the freshly-recompiled programs and they all run fine so I figured there wasn't anything to concern myself with. Thanks for the confirmation.
_________________
Gentoo Linux is groovy, baby! Yeah!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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