[ 1%] Building C object common/CMakeFiles/Gammu.dir/gsmcomon.o [ 2%] cc1: error: unrecognized command line option "-Wno-pointer-sign" Reproducible: Always Steps to Reproduce: 1. emerge gammu # emerge --info Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.5-r3, 2.6.20-gentoo-r6 i686) ================================================================= System uname: 2.6.20-gentoo-r6 i686 AMD Athlon(TM) XP 2200+ Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 04 Sep 2007 08:30:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.3.5-r3, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/baselayout: 1.12.9-r2 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, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/ http://mir.zyrianes.net/gentoo/ ftp://gentoo.inode.at/source/ http://212.219.56.152/sites/www.ibiblio.org/gentoo/" LANG="en_GB" LC_ALL="en_GB" MAKEOPTS="-j2" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amr apache2 arts bash-completion berkdb bitmap-fonts bluetooth cairo cdr cli contrib cracklib cups dbus divx divx4linux dri dvd dvdr dvdread eds emboss encode evo fam firefox fluidsynth font-server fortran gdbm gif gimpprint gpm gtk gtk2 hal iconv ipv6 isdnlog jack jack-tmpfs java joystick jpeg ladcca ladspa libsamplerate mad midi mikmod mjpeg mmx mp3 mpeg mudflap musepack musicbrainz ncurses nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection sdk sdl session spell spl sse ssl startup-notification svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb v4l visualization vorbis win32codecs wmp x86 xcomposite xine xml xorg xv xvid zlib" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Upgrade your gcc finally. http://www.gentoo.org/doc/en/gcc-upgrading.xml
Wow... you are still using gcc-3.4? Do you have a good reason to stick with it?
No. I didn't realise I had to manually upgrade it - I have done so now. Thanks.
Closed as WONTFIX.