Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50604 - pango 1.4 emerge error
Summary: pango 1.4 emerge error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-10 00:38 UTC by Eldad Zack (RETIRED)
Modified: 2005-01-01 18:56 UTC (History)
0 users

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 Eldad Zack (RETIRED) gentoo-dev 2004-05-10 00:38:56 UTC
I've looked on bug 49502, and it doesn't fit exactly the problem I'm getting.
Also, I've emerge pango 1.2.5-r1 and it didn't "help" when trying to emerge 1.4.0.

last lines of compiling:

/bin/sh ../libtool --mode=link gcc  -O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer -Wall   -o pangoft2topgm  pangoft2topgm.o argcontext.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la -lfontconfig   -lfreetype -lz
mkdir .libs
gcc -O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer -Wall -o .libs/pangoft2topgm pangoft2topgm.o argcontext.o  ../pango/.libs/libpango-1.0.so ../pango/.libs/libpangoft2-1.0.so /var/tmp/portage/pango-1.4.0/work/pango-1.4.0/pango/.libs/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so -lz
pangoft2topgm.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [pangoft2topgm] Error 1
make[2]: Leaving directory `/var/tmp/portage/pango-1.4.0/work/pango-1.4.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.4.0/work/pango-1.4.0'
make: *** [all] Error 2

!!! ERROR: x11-libs/pango-1.4.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2004-05-10 00:40:06 UTC
emerge info (this is a p4 but compiles with -march=i686)

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25)
=================================================================
System uname: 2.4.25 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.9
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS=""
PKGDIR="/home/httpd/html/gentoo/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx X alsa apm ardour-ksi avi bonobo cdr crypt cups curl doc encode faad2 foomaticdb gd ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib jack jack-tmpfs java jpeg kde lcms libg++ libwww mad maildir memlimit mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mpi ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang ssl tcltk tiff truetype voodoo3 wmf x86 xml2 xmms xv zlib"
Comment 2 foser (RETIRED) gentoo-dev 2004-05-10 05:33:48 UTC
always start by lowering your cflags.

Second, check what this file is it complains about.
Comment 3 Eldad Zack (RETIRED) gentoo-dev 2004-05-10 06:40:13 UTC
It seems that -O3 combined with -fomit-frame-pointer causes this problem.
Either toning down to -O2 or compiling without -fomit-frame-pointer emerges cleanly.

The file it complains about is unrecognized (by file), but it should be an ELF file.

Comment 4 Eldad Zack (RETIRED) gentoo-dev 2004-05-18 04:45:41 UTC
foser, would you suggest to close this bug?
filter flags?
report upstream to gcc?
Comment 5 foser (RETIRED) gentoo-dev 2004-05-18 08:48:39 UTC
if we had more reports on the same arch/gcc/etc. setup we could maybe report it, but like this it's too much a one man thing to put effort in (upstream) i think.
Comment 6 Eldad Zack (RETIRED) gentoo-dev 2004-05-18 09:26:12 UTC
mmm. I also encountered this on one machine, which is a pentium4.
I'm using the same flags on a pentium-II and got no such problem.

I'll close this bug - no one seem to have this problem, and I got mine resolved after I got rid of a flag or two...

Comment 7 Marko Dimiskovski 2004-08-18 11:35:18 UTC
i have this have this problem as well. i tryed removing some flags but that doesn't work... anyone have any ideas?
Comment 8 Akar Chen 2005-01-01 18:56:31 UTC
Might it is the ccache problem.

i face this problem when compiling the new version of fontforge.
*But i resolved this by unmerge the ccache*


AlterEgo reported this:
http://forums.gentoo.org/viewtopic.php?p=103181#103181

hope this help