Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57274 - tiger doesn't compile with gcc 3.4.1
Summary: tiger doesn't compile with gcc 3.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 04:05 UTC by Sterling Christensen
Modified: 2004-09-01 03:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch on tiger-0.8 to work with gcc-3.4* (tiger-0.8-gcc34.patch,4.87 KB, patch)
2004-07-16 11:18 UTC, Karol Wojtaszek (RETIRED)
Details | Diff
Patch on ebuild (tiger-0.8.ebuild.patch,714 bytes, patch)
2004-07-16 11:32 UTC, Karol Wojtaszek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sterling Christensen 2004-07-16 04:05:43 UTC
I'm using gcc 3.4.1, and app-emulation/tiger-0.8 failed to compile.

Reproducible: Always
Steps to Reproduce:
1. emerge tiger
Actual Results:  
>>> md5 src_uri ;-) tiger-0.8.tar.gz
>>> Unpacking source...
>>> Unpacking tiger-0.8.tar.gz to /var/tmp/portage/tiger-0.8/work
>>> Source unpacked.
gcc -Iinclude -c  -O1 -fomit-frame-pointer -Wall -Wno-unused -Wno-format
-DX86_ASSEMBLY -D__inline__=inline -DSTATFS_NO_ARGS=2 -DSTATBUF_BAVAIL=f_bavail
-g main.c
gcc -Iinclude -c  -O1 -fomit-frame-pointer -Wall -Wno-unused -Wno-format
-DX86_ASSEMBLY -D__inline__=inline -DSTATFS_NO_ARGS=2 -DSTATBUF_BAVAIL=f_bavail
-g newcpu.c
In file included from main.c:10:
include/options.h: In function `my_strdup':
include/options.h:21: warning: implicit declaration of function `strlen'
include/options.h:22: warning: implicit declaration of function `strcpy'
include/options.h: In function `generic_memcmpy':
include/options.h:32: warning: implicit declaration of function `memcmp'
include/options.h:34: warning: implicit declaration of function `memcpy'
main.c: In function `main':
main.c:76: warning: implicit declaration of function `load_cfg_file'
main.c:83: warning: implicit declaration of function `do_command'
main.c:118: warning: implicit declaration of function `init_keyboard'
gcc -Iinclude -c  -O1 -fomit-frame-pointer -Wall -Wno-unused -Wno-format
-DX86_ASSEMBLY -D__inline__=inline -DSTATFS_NO_ARGS=2 -DSTATBUF_BAVAIL=f_bavail
-g memory.c
newcpu.c: In function `MakeFromSR':
newcpu.c:270: warning: implicit declaration of function `link_checkread'
gcc -Iinclude -c  -O1 -fomit-frame-pointer -Wall -Wno-unused -Wno-format
-DX86_ASSEMBLY -D__inline__=inline -DSTATFS_NO_ARGS=2 -DSTATBUF_BAVAIL=f_bavail
-g debugger.c
newcpu.c: At top level:
newcpu.c:429: error: conflicting types for 'op_illg'
include/newcpu.h:48: error: previous declaration of 'op_illg' was here
newcpu.c:429: error: conflicting types for 'op_illg'
include/newcpu.h:48: error: previous declaration of 'op_illg' was here
newcpu.c: In function `MC68000_disasm':
newcpu.c:602: warning: comparison of distinct pointer types lacks a cast
make: *** [newcpu.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: app-emulation/tiger-0.8 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)



Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r10)
=================================================================
System uname: 2.6.7-gentoo-r10 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm artswrappersuid avi berkdb crypt divx4linux encode flac
foomaticdb gdbm ggi gif gpm gtk gtk2 imlib jabber jpeg kde libg++ libwww
lzw-tiff mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl operanom2
pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl tcpd
theora tiff truetype x86 xml xml2 xmms xv xvid zlib"
Comment 1 Karol Wojtaszek (RETIRED) gentoo-dev 2004-07-16 11:18:07 UTC
Created attachment 35586 [details, diff]
patch on tiger-0.8 to work with gcc-3.4*

Please test the patch strictly.
Comment 2 Karol Wojtaszek (RETIRED) gentoo-dev 2004-07-16 11:32:14 UTC
Created attachment 35591 [details, diff]
Patch on ebuild
Comment 3 Karol Wojtaszek (RETIRED) gentoo-dev 2004-09-01 03:58:05 UTC
Fixed in portage