Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110458 - can't compile libggi-2.1.1 with gcc4
Summary: can't compile libggi-2.1.1 with gcc4
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 11:22 UTC by Alexey Maximov
Modified: 2005-10-25 12:38 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 Alexey Maximov 2005-10-25 11:22:56 UTC
Making all in vcsa
make[3]: Entering directory `/media/sda5/xxx/portage/libggi-2.1.1/work/libggi-2.
1.1/display/vcsa'
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I
. -I. -I../.. -I../../include   -I/usr/include  -march=pentium3 -O2 -pipe -fomit
-frame-pointer -ffast-math -I/usr/include -D_REENTRANT -D_THREAD_SAFE -MT visual
.lo -MD -MP -MF ".deps/visual.Tpo" -c -o visual.lo visual.c; \
then mv -f ".deps/visual.Tpo" ".deps/visual.Plo"; else rm -f ".deps/visual.Tpo";
 exit 1; fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/inc
lude -march=pentium3 -O2 -pipe -fomit-frame-pointer -ffast-math -I/usr/include -
D_REENTRANT -D_THREAD_SAFE -MT visual.lo -MD -MP -MF .deps/visual.Tpo -c visual.
c  -fPIC -DPIC -o visual.lo
visual.c: In function 'GGIopen':
visual.c:127: error: invalid lvalue in assignment


Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-4.0.2,
glibc-2.3.5.20050722-r0, 2.6.14-rc3-nitro1 i686)
=================================================================
System uname: 2.6.14-rc3-nitro1 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre9
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.3
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -march=pentium3 -O2 -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="  -march=pentium3 -O2 -pipe -fomit-frame-pointer -ffast-math
-fvisibility-inlines-hidden"
DISTDIR="/media/hda9/gentoo/distfiles"
FEATURES="autoconfig distlocks prelink sandbox sfperms strict strip"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LINGUAS="ru"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/media/sda5/xxx"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib acl acpi adns alsa amuled ao apache2 artworkextra
asterisk atm audiofile avi bash-completion berkdb bidi bitmap-fonts bluetooth
browserplugin bzip2 cairo caps cdda cddb cdparanoia cdr cflags chm chroot cjk
corba crypt cups curl custom-cflags daap dbus dga dhcp directfb djbfft doc dts
dv dvb dvd dvdr dvdread dxr3 dynagraph ecc edl eds emacs encode evo exif expat
extensions fame fat fbcon fbsplash ffmpeg firefox flac foomaticdb freetype gcj
gd gdbm ggi gif gimpprint glitz gmail gnome gnutls gpm graphviz gsf gsm gtk gtk2
gtkhtml hal hfs howl httpd iconv idea ieee1394 imagemagick imap imlib innodb
iproute2 irda irmc ithreads jack java javascript jfs jpeg kdeenablefinal
kerberos ladcca ladspa lcms ldap libcaca libclamav libgda libsamplerate lirc
live lmtp logrotate lzo mad maildir mailwrapper maps matroska mbox mbrola md5sum
mdb mh mikmod mjpeg mmx mng mod mono motif mozdevelop mozilla moznocompose
moznoirc moznomail mozsvg mp3 mpeg mppe-mppc multislot multitarget music mysql
nas nautilus ncurses network nls nntp nocd nptl nptlonly nsplugin ntfs numeric
nvidia objc odbc ogg oggvorbis opengl osc oss pam pam_console pcmcia pda pdflib
perl pic plotutils png pop3 portaudio postgres ppds pwdb python qt quicktime
quotas radius readline real reiserfs remote rtc samba sblive screen sdl sensord
sftplogging silc skey slang slic slp smartcard sms socks5 sounds speex spell srv
sse ssl stats stream svg svga sysfs syslog tcltk tetex theora threads tiff
truetype truetype-fonts unicode usb v4l v4l2 vcd vidix vlm vorbis webservices
win32codecs winbind wmf wxwindows xanim xbase xchatdccserver xfs xine xml xml2
xprint xv xvid xvmc yv12 zlib linguas_ru userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS


from http://gcc.gnu.org/gcc-3.4/changes.html
C/Objective-C/C++
The cast-as-lvalue extension has been removed for C++ and deprecated for C and
Objective-C. In particular, code like this:

        int i;
        (char) i = 5;
        

or this:

        char *p;
        ((int *) p)++;
        

is no longer accepted for C++ and will not be accepted for C and Objective-C in
a future version.
Comment 1 Alexey Maximov 2005-10-25 11:23:19 UTC
localhost ~ # emerge -pv libggi

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

Calculating dependencies ...done!
[ebuild   R   ] media-libs/libggi-2.1.1  -3dfx +X +aalib* -debug +dga*
+directfb* +fbcon* +mmx +svga* (-vis) 0 kB

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-25 12:38:31 UTC
We don't support gcc-4; please reopen with a patch.