First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 117548
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dirk Heinrichs <dirk.heinrichs.ext@nsn.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
configure.pl.patch patch for 1.4.9 configure.pl gcc autodetection patch Jack Lloyd 2006-01-03 04:43 0000 493 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 117548 depends on: Show dependency tree
Bug 117548 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-03 00:59 0000
Compiling with GCC 3.4.5 works fine.

When compiling with GCC 4.0.2 I get the following error:

g++ -Ibuild/include -O3 -march=pentium4 -fomit-frame-pointer -pipe 
-D_REENTRANT -ansi -Wno-long-long -W -Wall -fPIC -c src/des_tab.cpp -o
build/lib/des_tab.o
src/des_tab.cpp:371: error: integer constant is too large for 'long' type
src/des_tab.cpp:371: error: integer constant is too large for 'long' type
src/des_tab.cpp:372: error: integer constant is too large for 'long' type
src/des_tab.cpp:372: error: integer constant is too large for 'long' type
src/des_tab.cpp:372: error: integer constant is too large for 'long' type
src/des_tab.cpp:372: error: integer constant is too large for 'long' type
src/des_tab.cpp:373: error: integer constant is too large for 'long' type
src/des_tab.cpp:373: error: integer constant is too large for 'long' type
src/des_tab.cpp:374: error: integer constant is too large for 'long' type
src/des_tab.cpp:374: error: integer constant is too large for 'long' type
src/des_tab.cpp:374: error: integer constant is too large for 'long' type
src/des_tab.cpp:374: error: integer constant is too large for 'long' type
src/des_tab.cpp:375: error: integer constant is too large for 'long' type
src/des_tab.cpp:375: error: integer constant is too large for 'long' type
src/des_tab.cpp:375: error: integer constant is too large for 'long' type
src/des_tab.cpp:375: error: integer constant is too large for 'long' type
src/des_tab.cpp:376: error: integer constant is too large for 'long' type
src/des_tab.cpp:376: error: integer constant is too large for 'long' type
src/des_tab.cpp:376: error: integer constant is too large for 'long' type
src/des_tab.cpp:376: error: integer constant is too large for 'long' type
[Many more lines with the same error msg skipped]

It seems what was just a warning in GCC 3.4 has become an error in GCC 4.




Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1,
2.6.14.4 i686)
=================================================================
System uname: 2.6.14.4 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/gentoo/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/gentoo/build"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY="/gentoo/build/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl acpi activefilter ada afs alsa aotuv arts
asf audiofile avi bash-completion berkdb bitmap-fonts bluetooth browserplugin
bzip2 caps cdb cdda cddb cdio cdparanoia cdr chipcard client-only cpudetection
crypt cups dlloader doc dri dtaus dv dvd dvdread edl emacs emboss encode exif
expat fam ffmpeg flac font-server foomaticdb ftp gd-external gdbm geldkarte gif
glut gmp gnutls gphoto2 gpm gtk2 hardened hbci httpd icq idn imagemagick imap
imlib ipppd irda irmc isdnlog jpeg jpeg2k kcal kde kerberos latex lcms ldap
libg++ libwww lm_sensors lua lzo mad madwifi maildir mbox mime mng motif mozsvg
mp3 mpeg mule musicbrainz nas ncurses nls no-old-linux noantlr nobcel
nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython
nolog4j nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin objc ofx
ogg oggvorbis openexr opengl pam pam_console pcre pdflib perl perlsuid
pg-intdatetime pic png postgres ppds pppd pwdb python qt quicktime rdesktop
readline real recode rtc savedconfig slang slp sms sockets socks5 speedo speex
spell sql sse ssl stream subversion svg svga symlink sysfs tcpd tetex theora
threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb
userlocales vcd vim-with-x vlm vorbis wifi win32codecs wxwindows xine xml2
xprint xscreensaver xv xvid xvmc zeroconf zlib elibc_glibc kernel_linux
linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS

------- Comment #1 From Jack Lloyd 2006-01-03 04:43:00 0000 -------
This combination is unhappy (that version of Botan doesn't detected GCC 4, so
it doesn't enable the long long workarounds). Try 1.4.11 if possible (not in
portage yet AFAIK). I've attached a patch against the 1.4.9 configure.pl that
should fix this.

(In reply to comment #0)
> Compiling with GCC 3.4.5 works fine.
> 
> When compiling with GCC 4.0.2 I get the following error:
> 
> 

------- Comment #2 From Jack Lloyd 2006-01-03 04:43:34 0000 -------
Created an attachment (id=76065) [details]
patch for 1.4.9 configure.pl gcc autodetection

------- Comment #3 From Dirk Heinrichs 2006-01-03 04:58:32 0000 -------
I tried both 1.4.9 with your patch and version 1.4.11. Both compile fine with
GCC 4.

------- Comment #4 From Daniel Black 2006-01-03 05:21:11 0000 -------
Thanks peoples. Harrass me if I don't commit this too soon. (and the version
bump)

------- Comment #5 From Daniel Black 2006-01-06 00:14:07 0000 -------
gcc-4 problems fixed in 1.4.9 and 1.4.11 (just added).

Lloyd - we probably should up the stable version a bit. Do you want to make it
1.4.9 now or wait a couple of weeks and push for 1.4.11?

------- Comment #6 From Jack Lloyd 2006-01-06 00:43:06 0000 -------
There are a few bug fixes in 1.4.10/11, but nothing very serious, and 1.4.9 was
released a couple of months ago. So, I have more confidence now that 1.4.9 is a
solid release than I probably will that 1.4.11 is in a week or two.

First Last Prev Next    No search results available      Search page      Enter new bug