Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157395 - [4.1/ICE] - gimp-2.3.13 doesn't compile on ppc64
Summary: [4.1/ICE] - gimp-2.3.13 doesn't compile on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR30185
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-06 20:53 UTC by Yang Dehua
Modified: 2007-01-07 12:28 UTC (History)
1 user (show)

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


Attachments
Well, I compiled it again. The out file. (cc7baNhO.out,390.86 KB, text/plain)
2006-12-07 04:45 UTC, Yang Dehua
Details
157395.i (reduced testcase) (157395.i,217 bytes, text/plain)
2006-12-10 22:26 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yang Dehua 2006-12-06 20:53:24 UTC
I tried to emerge gimp-2.3.13 on my ppc64 linux, but failed with:

if powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DSTANDALONE=0 -DUSE_INTERFACE=1 -DUSE_MATH=1 -DUSE_ASCII_NAMES=0 -DUSE_STRLWR=0 -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include           -O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -MT scheme.o -MD -MP -MF ".deps/scheme.Tpo" -c -o scheme.o scheme.c; \
        then mv -f ".deps/scheme.Tpo" ".deps/scheme.Po"; else rm -f ".deps/scheme.Tpo"; exit 1; fi
scheme.c: In function 
Comment 1 Yang Dehua 2006-12-06 20:53:24 UTC
I tried to emerge gimp-2.3.13 on my ppc64 linux, but failed with:

if powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../..   -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -DSTANDALONE=0 -DUSE_INTERFACE=1 -DUSE_MATH=1 -DUSE_ASCII_NAMES=0 -DUSE_STRLWR=0 -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include           -O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -MT scheme.o -MD -MP -MF ".deps/scheme.Tpo" -c -o scheme.o scheme.c; \
        then mv -f ".deps/scheme.Tpo" ".deps/scheme.Po"; else rm -f ".deps/scheme.Tpo"; exit 1; fi
scheme.c: In function alloc_cellseg:
scheme.c:598: warning: cast from pointer to integer of different size
scheme.c: At top level:
scheme.c:1564: warning: no previous prototype for putcharacter
scheme.c:4435: warning: no previous prototype for scheme_init_new
scheme.c:4671: warning: no previous prototype for scheme_call
scheme.c: In function opexe_2:
scheme.c:3413: error: unrecognizable insn:
(insn 973 971 974 95 (set (reg:SI 546)
        (subreg:DI (reg/v:TI 355 [ b ]) 8)) -1 (nil)
    (nil))
scheme.c:3413: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccQqJiAY.out file, please attach this to your bugreport.

My emerge info:

Portage 2.1.1-r2 (default-linux/ppc/ppc64/2006.1/multilib, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 ppc64)
=================================================================
System uname: 2.6.19-gentoo-r1 ppc64 PPC970, altivec supported
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 02:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.gentoo.or.kr http://distfiles.gentoo.org http://ftp.tsinghua.edu.cn/mirror/gentoo http://mirror.usu.edu/mirrors/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en_US zh_CN"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/MyPortage /usr/local/MyPortage/gentoo-xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X a52 aac aalib accessibility aiglx alsa alsa_cards_aoa altivec apache2 asf aspell berkdb bitmap-fonts browserplugin bzip2 cairo cdr chardet cjk cli cracklib crypt cups curl dba dbus dlloader dri dts dvd dvdnav dvdr eds elibc_glibc emboss encode esd exif faac faad2 fb ffmpeg flac foomaticdb fortran gd gd-external gdbm gif gimpprint glitz gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal ibm iconv imagemagick imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k kde kernel_linux lcms ldap libg++ libwww linguas_en_US linguas_zh_CN mad mbox mikmod mng motif mp3 mpeg mpg mysql nas ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl session slang spell spl sqlite ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd video_cards_ati video_cards_fbdev video_cards_radeon vidix vorbis wma x264 xanim xcomposite xine xml xml2 xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 03:07:54 UTC
Attached the preprocessed source here as the message told you in case it's a reproducible error.
Comment 3 Yang Dehua 2006-12-07 04:45:59 UTC
Created attachment 103541 [details]
Well, I compiled it again. The out file.
Comment 4 Yang Dehua 2006-12-07 04:47:23 UTC
I compiled it again, with out file attached above.
Comment 5 SpanKY gentoo-dev 2006-12-10 22:26:31 UTC
Created attachment 103779 [details]
157395.i (reduced testcase)
Comment 6 SpanKY gentoo-dev 2007-01-07 12:28:26 UTC
this will be fixed in gcc-4.1.1-r4 or gcc-4.1.2, whichever comes first