Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296901 - =dev-libs/icu-4.2.1 fails to build on arm/ia64/sparc if >-O0
Summary: =dev-libs/icu-4.2.1 fails to build on arm/ia64/sparc if >-O0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 281267
  Show dependency tree
 
Reported: 2009-12-14 14:58 UTC by Raúl Porcel (RETIRED)
Modified: 2010-04-20 18:12 UTC (History)
3 users (show)

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 Raúl Porcel (RETIRED) gentoo-dev 2009-12-14 14:58:48 UTC
$subj

/bin/sh ../../mkinstalldirs uconvmsg
/bin/sh ../../mkinstalldirs uconvmsg
mkdir uconvmsg
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH  .
./../bin/genrb -e UTF-8 -s resources -d uconvmsg fr.txt
../../bin/genrb: symbol lookup error: ../../lib/libicuuc.so.42: undefined symbol
: icudt42_dat
make[2]: *** [uconvmsg/fr.res] Error 127
make[2]: *** Waiting for unfinished jobs....
LD_LIBRARY_PATH=../../lib:../../stubdata:../../tools/ctestfw:$LD_LIBRARY_PATH  .
./../bin/genrb -e UTF-8 -s resources -d uconvmsg root.txt
../../bin/genrb: symbol lookup error: ../../lib/libicuuc.so.42: undefined symbol
: icudt42_dat
make[2]: *** [uconvmsg/root.res] Error 127
uwmsg.c: In function 'uprint':
uwmsg.c:73: warning: ignoring return value of 'fwrite', declared with attribute 
warn_unused_result
uconv.cpp: In function 'int printTransliterators(UBool)':
uconv.cpp:393: warning: 'int32_t utrans_getAvailableID_4_2(int32_t, char*, int32
_t)' is deprecated (declared at ../../i18n/unicode/utrans.h:579)
uconv.cpp:393: warning: 'int32_t utrans_getAvailableID_4_2(int32_t, char*, int32
_t)' is deprecated (declared at ../../i18n/unicode/utrans.h:579)
uconv.cpp:406: warning: 'int32_t utrans_getAvailableID_4_2(int32_t, char*, int32
_t)' is deprecated (declared at ../../i18n/unicode/utrans.h:579)
uconv.cpp:406: warning: 'int32_t utrans_getAvailableID_4_2(int32_t, char*, int32
_t)' is deprecated (declared at ../../i18n/unicode/utrans.h:579)
make[2]: Leaving directory `/var/tmp/portage/dev-libs/icu-4.2.1/work/icu/source/
extra/uconv'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/icu-4.2.1/work/icu/source/
extra'
make: *** [all-recursive] Error 2
 *
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-14 16:38:53 UTC
Could you identify which flag enabled by -O1 causes this problem?
Also please post the output of `emerge --info`.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2009-12-14 16:48:44 UTC
Portage 2.1.6.13 (default/linux/ia64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 ia64)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-ia64-31-with-gentoo-1.12.13
Timestamp of tree: Sat, 12 Dec 2009 16:00:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.5.4-r3, 2.6.2-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ia64"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org ftp://ftp.osuosl.org/pub/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://raptor.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr eds encode evo fam firefox flac fortran gdbm gif gpm gtk hal ia64 iconv ipv6 jpeg mikmod modules mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Uh...that flag thing you're asking me its going to take me a while...can't we filter/replace -O* on those arches meanwhile?
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-14 17:00:45 UTC
-O* is now filtered on arm/ia64/sparc.
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2009-12-14 17:43:34 UTC
Okay, thanks.

If you want to test it on ia64, just send me a mail with your pubkey and i can give you access to an ia64 box.
Comment 5 Jack Morgan (RETIRED) gentoo-dev 2010-02-08 14:02:54 UTC
icu-4.2.1 builds fine on sparc
Portage 2.1.7.17 (default/linux/sparc/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r6 sparc64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-sparc64-sun4u-with-gentoo-2.0.1
Timestamp of tree: Sun, 07 Feb 2010 23:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="sparc ~sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://dev.bonyari.local"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://dev.bonyari.local/gentoo-portage"
USE="X a52 aac acl alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gcc64 gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session sparc spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="sun-cs4231" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev mach64"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-20 14:19:57 UTC
Does this problem still occur with dev-libs/icu-4.4-r1 (with optimizations enabled)?
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2010-04-20 18:09:51 UTC
Works fine too
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-20 18:12:10 UTC
(In reply to comment #7)
> Works fine too

OK. I'm closing this bug.