Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48703 - opensp-1.5-r1 doesn't build with gcc 3.4
Summary: opensp-1.5-r1 doesn't build with gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-04-22 10:38 UTC by Mikko Tiihonen
Modified: 2004-04-22 14:29 UTC (History)
0 users

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


Attachments
patch to include missing constant.h from RangeMap.h (opensp-gcc-3.4-compile.patch,263 bytes, patch)
2004-04-22 10:39 UTC, Mikko Tiihonen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko Tiihonen 2004-04-22 10:38:15 UTC
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../generic -march=k8 -pipe -O2 -
fomit-frame-pointer -frename-registers -fweb --param max-delay-slot-insn-search=
300 --param max-delay-slot-live-search=1000 --param max-pending-list-length=100 
--param max-gcse-passes=4 --param max-gcse-memory=104857600 --param max-crossjum
p-edges=400 -c ArcEngine.cxx -MT ArcEngine.lo -MD -MP -MF .deps/ArcEngine.TPlo  
-fPIC -DPIC -o .libs/ArcEngine.lo
In file included from ../include/RangeMap.h:67,
                 from ../include/UnivCharsetDesc.h:13,
                 from ../include/CharsetInfo.h:11,
                 from ../include/Sd.h:13,
                 from ../include/Event.h:20,
                 from ../include/ArcEngine.h:11,
                 from ArcEngine.cxx:10:
../include/RangeMap.cxx: In member function `unsigned int OpenSP::RangeMap<From,
 To>::inverseMap(To, From&, OpenSP::ISet<OpenSP::WideChar>&, OpenSP::WideChar&) 
const':
../include/RangeMap.cxx:50: error: `wideCharMax' undeclared (first use this func
tion)
../include/RangeMap.cxx:50: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
In file included from ../include/UnivCharsetDesc.h:16,
                 from ../include/CharsetInfo.h:11,
                 from ../include/Sd.h:13,
                 from ../include/Event.h:20,
                 from ../include/ArcEngine.h:11,
                 from ArcEngine.cxx:10:
../include/constant.h: At global scope:
../include/constant.h:16: error: `const OpenSP::WideChar OpenSP::wideCharMax' us
ed prior to declaration



Reproducible: Always
Steps to Reproduce:
1. emerge gcc 3.4
2. emerge opensp 1.5
3.

Actual Results:  
compiling fails

Expected Results:  
compiles correctly

Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040207-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer -frename-registers -fweb
--param max-delay-slot-insn-search=300 --param max-delay-slot-live-search=1000
--param max-pending-list-length=100 --param max-gcse-passes=4 --param
max-gcse-memory=104857600 --param max-crossjump-edges=400"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer -frename-registers -fweb
--param max-delay-slot-insn-search=300 --param max-delay-slot-live-search=1000
--param max-pending-list-length=100 --param max-gcse-passes=4 --param
max-gcse-memory=104857600 --param max-crossjump-edges=400"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://trumpetti.atm.tut.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/2/portage-tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb crypt doc encode ethereal foomaticdb freetype
gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mikmod mozilla moznoirc
mozsvg mpeg mysql ncurses nls nogcj nptl oggvorbis opengl oss pam pdflib perl
png postgres python quicktime readline ruby ruby18 sdl slang spell ssl tcpd
tetex truetype xml2 xmms xv zlib"
Comment 1 Mikko Tiihonen 2004-04-22 10:39:55 UTC
Created attachment 29827 [details, diff]
patch to include missing constant.h from RangeMap.h

With this patch opensp compiles for me
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-04-22 14:10:18 UTC
in cvs