Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84666 - Fail to emerge gimp-print-4.2.5-r2 on pcc
Summary: Fail to emerge gimp-print-4.2.5-r2 on pcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: PPC Linux
: High critical (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-09 13:52 UTC by Sam Kyritsoglou
Modified: 2005-03-24 00:54 UTC (History)
2 users (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 Sam Kyritsoglou 2005-03-09 13:52:58 UTC
when I try to emerge gimp, the compilation of gimp-print failed. I also tried to emerge gimp-print but the compilation failed too (not the same errors : say if I had to post another bug-report). 


Reproducible: Always
Steps to Reproduce:
1. emerge gimp-print
2.
3.

Actual Results:  
ake[3]: Entering directory
`/var/tmp/portage/gimp-print-4.2.5-r2/work/gimp-print-4.2.5/src/main'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include -I../../include -I../../intl   -Wall -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Wwrite-strings -pedantic -O2 -mtune=G4 -maltivec -mabi=altivec
-fno-strict-aliasing -pipe -c print-lexmark.c
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include -I../../include -I../../intl   -Wall -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Wwrite-strings -pedantic -O2 -mtune=G4 -maltivec -mabi=altivec
-fno-strict-aliasing -pipe -c print-canon.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../intl
-Wall -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes-Wmissing-declarations -Wnested-externs -Wwrite-strings
-pedantic -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c
print-lexmark.c  -fPIC -DPIC -o .libs/print-lexmark.lo
rm -f .libs/print-canon.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../intl
-Wall -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes-Wmissing-declarations -Wnested-externs -Wwrite-strings
-pedantic -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c
print-canon.c  -fPIC -DPIC -o .libs/print-canon.lo
In file included from /usr/include/stdio.h:830,
                 from print-canon.c:49:
/usr/include/bits/stdio.h: In function `putchar_unlocked':
/usr/include/bits/stdio.h:94: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../intl
-Wall -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes-Wmissing-declarations -Wnested-externs -Wwrite-strings
-pedantic -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c
print-lexmark.c -o print-lexmark.o >/dev/null 2>&1
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [print-canon.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [print-lexmark.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gimp-print-4.2.5-r2/work/gimp-print-4.2.5/src/main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gimp-print-4.2.5-r2/work/gimp-print-4.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gimp-print-4.2.5-r2/work/gimp-print-4.2.5'
make: *** [all-recursive-am] Error 2

Expected Results:  
Emerge gimp-print

Portage 2.0.51.19 (default-linux/ppc/2004.3, gcc-3.4.1, glibc-2.3.4.20041102-r0,
2.6.11-gentoo-r2 ppc)
=================================================================
System uname: 2.6.11-gentoo-r2 ppc 7447A, altivec supported
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  2 2005, 22:43:30)]
distcc 2.16 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.9.4, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.90.0.3-r3
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.lug.ro/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.0.5/gentoo-portage"
USE="X alsa bash-completion berkdb bitmap-fonts cdr cups curl dvd emboss fam
flac font-server fortran gdbm gif imagemagick java jpeg kde motif mp3 ncurses
nls nptl oggvorbis oogvorbis opengl pam perl png ppc python qt readline samba
ssl tiff truetype truetype-fonts type1-fonts unicode xml2 xprint xv zlib
linguas_be linguas_fr"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-09 15:15:34 UTC
what about gimp-print-4.2.7?
Comment 2 Sam Kyritsoglou 2005-03-10 04:57:22 UTC
I retried to emerge gimp-print-4.2.7 and it works. I don't know why I was able to emerge now and not yesterday. 
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-10 06:25:30 UTC
ppc: please mark this version stable
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2005-03-23 22:58:42 UTC
Sam:

Do you have kernel preemption on in your kernel config?  This is the most common cause of gcc segfaults on ppc.

Lanius:

I've marked gimp-print-4.2.7 stable on ppc.
Comment 5 Sam Kyritsoglou 2005-03-24 00:43:19 UTC
Yes, kernel preemption est enable in my kernel config. 

Had I to disable this option in my kernel config ? 
Comment 6 Luca Barbato gentoo-dev 2005-03-24 00:54:25 UTC
Yes, you do.