Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 250864

Summary: app-laptop/tp_smapi-0.39 - gcc: -pg and -fomit-frame-pointer are incompatible
Product: Gentoo Linux Reporter: Ognjan Kirilov Iordanov <iordanov>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: pchrist, tb
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ognjan Kirilov Iordanov 2008-12-13 19:22:00 UTC
emerge tp_smapi-0.39 fails on kernel 2.6.17.
>>> Emerging (1 of 1) app-laptop/tp_smapi-0.39
 * tp_smapi-0.39.tgz RMD160 SHA1 SHA256 size ;-) ...                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                    [ ok ]
 * Determining the location of the kernel source code                                                                           
 * Found kernel source directory:                                                                                               
 *     /usr/src/linux                                                                                                           
 * Found kernel object directory:                                                                                               
 *     /lib/modules/2.6.27-thinkpad/build                                                                                       
 * Found sources for kernel version:                                                                                            
 *     2.6.27-thinkpad                                                                                                          
 * Checking for suitable kernel configuration options...                                                                   [ ok ]
>>> Unpacking source...                                                                                                          
>>> Unpacking tp_smapi-0.39.tgz to /var/tmp/portage/portage/app-laptop/tp_smapi-0.39/work                                        
>>> Source unpacked.                                                                                                             
>>> Compiling source in /var/tmp/portage/portage/app-laptop/tp_smapi-0.39/work/tp_smapi-0.39 ...                                 
ln: Erzeuge symbolische Verknüpfung „Module.symvers“: Die Datei existiert bereits                                                
 * Preparing thinkpad_ec module                                                                                                  
make -j5 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KSRC=/usr/src/linux KBUILD=/usr/src/linux HDAPS=1 default                                                                                                                         
make -C /usr/src/linux M=/var/tmp/portage/portage/app-laptop/tp_smapi-0.39/work/tp_smapi-0.39 O=/usr/src/linux modules           
make[1]: Entering directory `/usr/src/linux-2.6.27-thinkpad'                                                                     
  CC [M]  /var/tmp/portage/portage/app-laptop/tp_smapi-0.39/work/tp_smapi-0.39/thinkpad_ec.o                                     
i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible                                                             
  CC [M]  /var/tmp/portage/portage/app-laptop/tp_smapi-0.39/work/tp_smapi-0.39/tp_smapi.o                                        
i686-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible                                                             
make[3]: *** [/var/tmp/portage/portage/app-laptop/tp_smapi-0.39/work/tp_smapi-0.39/thinkpad_ec.o] Fehler 1                       
make[3]: *** Warte auf noch nicht beendete Prozesse...                                                                           
make[3]: *** [/var/tmp/portage/portage/app-laptop/tp_smapi-0.39/work/tp_smapi-0.39/tp_smapi.o] Fehler 1                          
make[2]: *** [_module_/var/tmp/portage/portage/app-laptop/tp_smapi-0.39/work/tp_smapi-0.39] Fehler 2                             
make[1]: *** [sub-make] Fehler 2                                                                                                 
make[1]: Leaving directory `/usr/src/linux-2.6.27-thinkpad'                                                                      
make: *** [modules] Fehler 2                                                                                                     
 *                                                                                                                               
 * ERROR: app-laptop/tp_smapi-0.39 failed.                                                                                       
 * Call stack:                                                                                                                   
 *               ebuild.sh, line   49:  Called src_compile                                                                       
 *             environment, line 3173:  Called linux-mod_src_compile                                                             
 *             environment, line 2437:  Called die                                                                               
 * The specific snippet of code:                                                                                                 
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)"                                                 CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)"                                             ${BUILD_FIXES}                                          ${BUILD_PARAMS}                                          ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";                              
 *  The die message:                                                                                                             
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  KSRC=/usr/src/linux KBUILD=/usr/src/linux HDAPS=1 default                                                                                                            
 *                                                                                                                               
 * If you need support, post the topmost build error, and the call stack if relevant.                                            
 * A complete build log is located at '/var/tmp/portage/portage/app-laptop/tp_smapi-0.39/temp/build.log'.                        
 * The ebuild environment file is located at '/var/tmp/portage/portage/app-laptop/tp_smapi-0.39/temp/environment'.               
 *                                                                                                                               

>>> Failed to emerge app-laptop/tp_smapi-0.39, Log file:

>>>  '/var/tmp/portage/portage/app-laptop/tp_smapi-0.39/temp/build.log'

Reproducible: Always
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-14 12:39:46 UTC
Please paste your emerge --info output. Also, if you 're using distcc can you try to disable it?
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-14 21:27:48 UTC
*** Bug 250851 has been marked as a duplicate of this bug. ***
Comment 3 Ognjan Kirilov Iordanov 2008-12-15 12:56:45 UTC
emerge --info
Portage 2.1.6.1 (default-linux/x86/2007.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.27-thinkpad i686)
=================================================================                                          
System uname: Linux-2.6.27-thinkpad-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-glibc2.0             
Timestamp of tree: Mon, 15 Dec 2008 11:45:02 +0000                                                         
distcc 3.1 i686-pc-linux-gnu [disabled]                                                                    
app-shells/bash:     3.2_p48                                                                               
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                   
dev-lang/python:     2.4.4-r4, 2.5.2-r8                                                                    
dev-python/pycrypto: 2.0.1-r6                                                                              
dev-util/cmake:      2.6.2                                                                                 
sys-apps/baselayout: 2.0.0                                                                                 
sys-apps/openrc:     0.3.0-r1                                                                              
sys-apps/sandbox:    1.2.18.1-r3                                                                           
sys-devel/autoconf:  2.13, 2.63                                                                            
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                              
sys-devel/binutils:  2.19                                                                                  
sys-devel/gcc-config: 1.4.0-r4                                                                             
sys-devel/libtool:   2.2.6a                                                                                
virtual/os-headers:  2.6.27-r2                                                                             
ACCEPT_KEYWORDS="x86 ~x86"                                                                                 
CBUILD="i686-pc-linux-gnu"                                                                                 
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"                                                   
CHOST="i686-pc-linux-gnu"                                                                                  
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                                
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"                                                                       
DISTDIR="/usr/portage/distfiles"                                                                                                 
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                   
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "                                                          
LANG="de_DE.utf8@euro"                                                                                                           
LC_ALL="de_DE.utf8@euro"                                                                                                         
LDFLAGS=""                                                                                                                       
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="16bittmp X X509 a52 aac aalib acl acpi alsa apache2 bash-completion bluetooth bzip2 cairo cardbus cdda cdparanoia cdr chipcard chipcard2 cli cracklib crypt css ctype cups curl dba dbus dbx deprecated dga directfb discouraged divx dri dts dvb dvd dvdr dvdread eds emacs embedded encode esd ethereal evo fam fat fbcon ffmpeg firefox flac fortran ftp gd gdbm gif glut glx gphoto2 gpm gps gstreamer gtk hal hbci hdaps httpd icc iconv icq ipv6 isdnlog jabber java javascript john jpeg junit kde kerberos laptop ldaplive mad madwifi midi mikmod mime mjpeg mmx mmxext mono mozdevelop mozsvg mp3 mpeg mplayer mudflap mysql ncurses nls no-seamonkey nodoc nosrc nowin nptlonly nsplugin ntfs ogg openct opengl openmp openvpn pam pcmcia pcre pcsc-lite pda pdf perl php piix_hotplug png postgres ppds pppd python qt-static qt3 qt3support qt4 quicktime readline reflection regex reiser4 reiserfs samba sdl session shout smartcard spell spl sse sse2 ssl stream svg svga swat tcltk tcpd tetex threads tidy tiff truetype type1 unicode usb v4lv4l2 vcd vorbis wifi win32codecs wxwindows x86 xcomposite xfs xinerama xml xorg xosd xprint xrandr xulrunner xv xvid" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1        emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m        maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shmsoftvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbmauthz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel        mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage      siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware  voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Ognjan Kirilov Iordanov 2008-12-15 13:01:55 UTC
(In reply to comment #1)
> Please paste your emerge --info output. Also, if you 're using distcc can you
> try to disable it?
> 

I don't use distcc.
Comment 5 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-16 10:40:55 UTC

*** This bug has been marked as a duplicate of bug 250914 ***
Comment 6 Thomas Beutin 2019-02-12 11:05:07 UTC
Actually, i would not consider this bug be resolved: if the code does not like the both of the parameters -pg and -fomit-frame-pointer at the same time the ebuild should either take care of it or at least issue a warning.

Or do i miss something here?
Comment 7 Thomas Beutin 2019-02-12 11:05:43 UTC
btw: =app-laptop/tp_smapi-0.43 is still affected