FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 07-11-2008, 12:17 AM
Frank Lichtenheld
 
Default Bug#490244: ICE on alpha with -ftrapv

Package: gcc-4.2
Version: 4.2.4-2+b1
Severity: important

It seems the giftrans package fails on alpha with an ICE:
~/giftrans-1.12.2$ gcc-4.2 -ftrapv -O2 -save-temps -ogiftrans giftrans.c
giftrans.c: In function ‘getindex’:
giftrans.c:762: internal compiler error: in store_data_bypass_p, at recog.c:3383

See also
http://buildd.debian.org/fetch.cgi?&pkg=giftrans&ver=1.12.2-14&arch=alpha&stamp=1212943554&file=log

I investigated that a bit.

It fails both with gcc-4.2 and gcc-4.3, with the same error
(only the line number in the error message changes).
The exact versions installed on the alpha porter machine are:
gcc version 4.2.4 (Debian 4.2.4-2+b1)
gcc version 4.3.1 (Debian 4.3.1-4)

It does build if you replace -O2 with -O1 or -O0. It also builds if you
remove the -ftrapv.

.i file attached.

Gruesse,
Frank Lichtenheld

-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.2 depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii cpp-4.2 4.2.4-3 The GNU C preprocessor
ii gcc-4.2-base 4.2.4-3 The GNU Compiler Collection (base
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libgcc1 1:4.3.1-6 GCC support library

Versions of packages gcc-4.2 recommends:
ii libc6-dev 2.7-12 GNU C Library: Development Librari

-- no debconf information
 

Thread Tools




All times are GMT. The time now is 05:26 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org