Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14768 - kdeedu 3.1 fails to merge with -fomit-frame-pointer
Summary: kdeedu 3.1 fails to merge with -fomit-frame-pointer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 14840 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-30 01:36 UTC by antihero
Modified: 2003-02-09 13:58 UTC (History)
3 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 antihero 2003-01-30 01:36:42 UTC
User-Agent:       
Build Identifier: 

kdeedu-3.1 fails to merge with -fomit-frame-pointer in CFLAGS.  System is a 1.2
profile (gcc 2.95, glibc 2.2.5).  Incidentally, all other subpackages of KDE 3.1
compile fine with -fomit-frame-pointer on my system.


Reproducible: Always
Steps to Reproduce:
1. CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" emerge kdeedu

Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include -I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fomit-frame-pointer
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o
vector.o `test -f 'vector.cpp' || echo './'`vector.cppAN_NAMESPACE
-DQT_NO_ASCII_CAST  -c -o triangle.o `test -f 'triangle.cpp' || echo
'./'`triangle.cppESPACE -DQT_NO_ASCII_CAST  -c -o tracer.o `test -f 'tracer.cpp'
|| echo './'`tracer.cppAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o thicker.o `test -f
'thicker.cpp' || echo './'`thicker.cppNAMESPACE -DQT_NO_ASCII_CAST  -c -o text.o
`test -f 'text.cpp' || echo './'`text.cppQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-c -o splashscreen.o `test -f 'splashscreen.cpp' || echo
'./'`splashscreen.cppNO_ASCII_CAST  -c -o slope.o `test -f 'slope.cpp' || echo
'./'`slope.cppCLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o segment.o `test -f
'segment.cpp' || echo './'`segment.cppNAMESPACE -DQT_NO_ASCII_CAST  -c -o
rotation.o `test -f 'rotation.cpp' || echo './'`rotation.cppESPACE
-DQT_NO_ASCII_CAST  -c -o ray.o `test -f 'ray.cpp' || echo './'`ray.cpp
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o pointonline.o `test -f
'pointonline.cpp' || echo './'`pointonline.cppQT_NO_ASCII_CAST  -c -o
pointofconc.o `test -f 'pointofconc.cpp' || echo
'./'`pointofconc.cppQT_NO_ASCII_CAST  -c -o point.o `test -f 'point.cpp' || echo
'./'`point.cppCLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o perpendicular.o `test -f
'perpendicular.cpp' || echo './'`perpendicular.cppASCII_CAST  -c -o parallel.o
`test -f 'parallel.cpp' || echo './'`parallel.cppESPACE -DQT_NO_ASCII_CAST  -c
-o move.o `test -f 'move.cpp' || echo './'`move.cppQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST  -c -o mirrorpoint.o `test -f 'mirrorpoint.cpp' || echo
'./'`mirrorpoint.cppQT_NO_ASCII_CAST  -c -o metricscenter.o `test -f
'metricscenter.cpp' || echo './'`metricscenter.cppASCII_CAST  -c -o line.o `test
-f 'line.cpp' || echo './'`line.cppQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST  -c -o
kgeoSearchRoutines.o `test -f 'kgeoSearchRoutines.cpp' || echo
'./'`kgeoSearchRoutines.cpp-o kgeoModeHandling.o `test -f 'kgeoModeHandling.cpp'
|| echo './'`kgeoModeHandling.cppT  -c -o kgeoMenuToolbarSlots.o `test -f
'kgeoMenuToolbarSlots.cpp' || echo './'`kgeoMenuToolbarSlots.cpp
oFileHandling.o `test -f 'kgeoFileHandling.cpp' || echo
'./'`kgeoFileHandling.cppT  -c -o kgeoConstructor.o `test -f
'kgeoConstructor.cpp' || echo './'`kgeoConstructor.cpp
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -50 [0xffffffce])) 0))
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -52 [0xffffffcc])) 0))
            (clobber (mem:SI (plus:SI (reg:SI 6 %ebp)
                        (const_int -48 [0xffffffd0])) 0))
            (clobber (scratch:HI))
        ] ) 149 {fix_truncdfsi2+1} (nil)
    (expr_list:REG_DEAD (reg/v:DF 107)
        (expr_list:REG_UNUSED (scratch:HI)
            (nil))))
make[4]: *** [kgeoFileHandling.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/kdeedu-3.1/work/kdeedu-3.1/kgeo/kgeo'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeedu-3.1/work/kdeedu-3.1/kgeo/kgeo'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeedu-3.1/work/kdeedu-3.1/kgeo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeedu-3.1/work/kdeedu-3.1'
make: *** [all] Error 2

!!! ERROR: kde-base/kdeedu-3.1 failed.
!!! Function kde_src_compile, Line -9142, Exitcode 2
!!! died running emake, kde_src_compile:make


Expected Results:  
ebuild should filter out the -fomit-frame-pointer flag.

Portage 2.0.46-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r10-1 i686 AMD Athlon(tm) XP 2200+
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 scanner -3dfx 3dnow aalib -acl -afs -alsa -apm arts avi -berkdb bonobo
-cjk crypt cups dga -directfb doc dvd encode esd evo -fbcon flash -freewnn -gb
gd -ggi ggz gif gnome gnome-libs -gphoto2 -gpm gtk gtk2 gtkhtml -guile icc imap
imlib -innodb -ipv6 java jpeg kde -kerberos lcms ldap libg++ -libgda libwww
-matrox maildir -mbox mikmod mmx motif mozilla mpeg -mule -mysql -nas ncurses
-nls -oci8 -odbc oggvorbis opengl oss pam -pcmcia -pda pdflib perl plotutils png
pnp -postgres python qt qtmt quicktime readline -ruby samba -sasl sdl slang -slp
-snmp -socks5 spell sse ssl -svga -tcltk tcpd -tetex tiff truetype -voodoo3 X
xface xml xml2 xmms xv -zeo zlib cdr wmf gdbm -acpi apache2 -gps oav"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync5.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Alessandro Pisani 2003-02-04 11:23:33 UTC
the same happens to me (reported in a comment in bug #14682 also)
what about filtering out "-f-omit-frame-pointer" in kdeedu-3.1-r1 ? is this solution viable?

bye,
Alessandro
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-05 16:15:48 UTC
ok, kdeedu-3.1-r1 now filters -fomit-frmae-pointer if gcc-2.95.3 is used. please test and report 
success/failure :) 
Comment 3 Sébastien Koechlin 2003-02-07 17:22:33 UTC
> ok, kdeedu-3.1-r1 now filters -fomit-frmae-pointer
> if gcc-2.95.3 is used. please test and report
> success/failure :) 

For me, It's a GREAT success, thanks !!!


bash-2.05a# emerge --pretend glibc gcc

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R  ] sys-libs/glibc-2.2.5-r7  
[ebuild   R  ] sys-devel/gcc-2.95.3-r8  
Comment 4 antihero 2003-02-08 13:42:50 UTC
The new ebuild works for me.  Thanks! 
 
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-02-08 18:17:57 UTC
*** Bug 14840 has been marked as a duplicate of this bug. ***
Comment 6 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-09 13:58:27 UTC
marked kdeedu-3.1-r1 as stable for x86. 
thanks for reporting.