Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647074 - games-simulation/openttd-1.7.2 build fails after icu upgrade to 60.2: undefined reference to icu::LEFontInstance::getSubFont
Summary: games-simulation/openttd-1.7.2 build fails after icu upgrade to 60.2: undefin...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-08 22:47 UTC by aditsu
Modified: 2018-07-16 09:33 UTC (History)
1 user (show)

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


Attachments
build log (build.log,716.78 KB, text/x-log)
2018-02-08 22:47 UTC, aditsu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aditsu 2018-02-08 22:47:51 UTC
Created attachment 518714 [details]
build log

I tried to reinstall openttd-1.7.2 after updating icu and icu-layoutex to 60.2 (it actually triggered a rebuild) and it failed with these errors:

gfx_layout.o:(.rodata._ZTV4Font[_ZTV4Font]+0x28): undefined reference to `icu::LEFontInstance::getSubFont(char16_t const*, int*, int, int, LEErrorCode&) const'
gfx_layout.o:(.rodata._ZTV4Font[_ZTV4Font]+0x48): undefined reference to `icu::LEFontInstance::mapCharsToGlyphs(char16_t const*, int, int, signed char, icu::LECharMapper const*, signed char, icu::LEGlyphStorage&) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libiculx.so: undefined reference to `icu::LayoutEngine::layoutChars(char16_t const*, int, int, int, signed char, float, float, LEErrorCode&)'
Comment 1 aditsu 2018-02-08 22:49:52 UTC
# emerge --info        
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-6500_CPU_@_3.20GHz-with-gentoo-2.4.1
KiB Mem:    32807232 total,   2435712 free
KiB Swap:   33554428 total,  23214560 free
Timestamp of repository gentoo: Wed, 07 Feb 2018 17:00:01 +0000
Head commit of repository gentoo: e76b91956601c0c99215eb2f62a4c8126ee0fa2a
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r4::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

aditsu
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA google-chrome Oracle-BCLA-JavaSE AdobeFlash-11.x RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.aditsu.net http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bittorrent branding bzip2 cairo cdda cdr cjk cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fat ffmpeg fftw flac fortran gdbm gif gimp glamor gpm gtk iconv icu ipv6 jack jpeg kde kipi kwallet ladspa lcms libnotify mad mdadm mng modules mp3 mp4 mpeg multilib ncurses nls nptl ntfs ogg opengl openmp pam pango pch pcre pdf phonon plasma png policykit ppds qml qt3support qt5 readline samba sdl seccomp source spell ssl startup-notification svg symlink tcpd theora threads tiff truetype udev udisks unicode upower usb vnc vorbis vpx widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib zsh-completion" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en en-US zh-HK zh-TW ro" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_4 postgres9_6 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Andreas Sturmlechner gentoo-dev 2018-02-08 23:19:48 UTC
Please check what version of icu-layoutex is installed.
Comment 3 aditsu 2018-02-08 23:23:08 UTC
As I mentioned, I have icu-layoutex-60.2 (which is marked unstable, although icu-60.2 is stable).
Comment 4 Andreas Sturmlechner gentoo-dev 2018-02-08 23:25:44 UTC
OK that's interesting, because there is no such build failure for me with the same setup except GCC-7.3.0 (which will hardly be responsible for a successful build).
Comment 5 Steven Davies 2018-02-14 09:28:58 UTC
I see the same thing, although icu-layoutex-60.2 is now stable om amd64.

Build log:
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
g++ -Wl,-O1 -Wl,--as-needed -rdynamic  3rdparty/md5/md5.o 3rdparty/squirrel/sqstdlib/sqstdaux.o 3rdparty/squirrel/sqstdlib/sqstdmath.o 3rdparty/squirrel/squirrel/sqapi.o 3rdparty/squirrel/squirrel/sqbaselib.o 3rdparty/squirrel/squirrel/sqclass.o 3rdparty/squirrel/squirrel/sqcompiler.o 3rdparty/squirrel/squirrel/sqdebug.o 3rdparty/squirrel/squirrel/sqfuncstate.o 3rdparty/squirrel/squirrel/sqlexer.o 3rdparty/squirrel/squirrel/sqmem.o 3rdparty/squirrel/squirrel/sqobject.o 3rdparty/squirrel/squirrel/sqstate.o 3rdparty/squirrel/squirrel/sqtable.o 3rdparty/squirrel/squirrel/sqvm.o ai/ai_config.o ai/ai_core.o ai/ai_gui.o ai/ai_info.o ai/ai_instance.o ai/ai_scanner.o aircraft_cmd.o aircraft_gui.o airport.o airport_gui.o animated_tile.o articulated_vehicles.o autoreplace.o autoreplace_cmd.o autoreplace_gui.o base_consist.o blitter/32bpp_anim.o blitter/32bpp_anim_sse4.o blitter/32bpp_base.o blitter/32bpp_optimized.o blitter/32bpp_simple.o blitter/32bpp_sse2.o blitter/32bpp_sse4.o blitter/32bpp_ssse3.o blitter/8bpp_base.o blitter/8bpp_optimized.o blitter/8bpp_simple.o blitter/base.o blitter/null.o bmp.o bootstrap_gui.o bridge_gui.o bridge_map.o build_vehicle_gui.o cargoaction.o cargomonitor.o cargopacket.o cargotype.o cheat.o cheat_gui.o clear_cmd.o command.o company_cmd.o company_gui.o console.o console_cmds.o console_gui.o core/alloc_func.o core/bitmath_func.o core/geometry_func.o core/math_func.o core/pool_func.o core/random_func.o cpu.o crashlog.o currency.o date.o date_gui.o debug.o dedicated.o depot.o depot_cmd.o depot_gui.o disaster_vehicle.o dock_gui.o driver.o economy.o effectvehicle.o elrail.o engine.o engine_gui.o error_gui.o fileio.o fios.o fios_gui.o fontcache.o fontdetection.o game/game_config.o game/game_core.o game/game_info.o game/game_instance.o game/game_scanner.o game/game_text.o gamelog.o genworld.o genworld_gui.o gfx.o gfx_layout.o gfxinit.o goal.o goal_gui.o graph_gui.o ground_vehicle.o group_cmd.o group_gui.o heightmap.o highscore.o highscore_gui.o hotkeys.o industry_cmd.o industry_gui.o ini.o ini_load.o intro_gui.o landscape.o linkgraph/demands.o linkgraph/flowmapper.o linkgraph/linkgraph.o linkgraph/linkgraph_gui.o linkgraph/linkgraphjob.o linkgraph/linkgraphschedule.o linkgraph/mcf.o linkgraph/refresh.o main_gui.o map.o misc.o misc/countedobj.o misc/dbg_helpers.o misc/getoptdata.o misc_cmd.o misc_gui.o mixer.o music.o music/extmidi.o music/null_m.o music_gui.o network/core/address.o network/core/core.o network/core/host.o network/core/packet.o network/core/tcp.o network/core/tcp_admin.o network/core/tcp_connect.o network/core/tcp_content.o network/core/tcp_game.o network/core/tcp_http.o network/core/udp.o network/network.o network/network_admin.o network/network_chat_gui.o network/network_client.o network/network_command.o network/network_content.o network/network_content_gui.o network/network_gamelist.o network/network_gui.o network/network_server.o network/network_udp.o newgrf.o newgrf_airport.o newgrf_airporttiles.o newgrf_canal.o newgrf_cargo.o newgrf_commons.o newgrf_config.o newgrf_debug_gui.o newgrf_engine.o newgrf_generic.o newgrf_gui.o newgrf_house.o newgrf_industries.o newgrf_industrytiles.o newgrf_object.o newgrf_railtype.o newgrf_sound.o newgrf_spritegroup.o newgrf_station.o newgrf_storage.o newgrf_text.o newgrf_town.o newgrf_townname.o news_gui.o object_cmd.o object_gui.o openttd.o order_backup.o order_cmd.o order_gui.o os/unix/crashlog_unix.o os/unix/unix.o osk_gui.o pathfinder/npf/aystar.o pathfinder/npf/npf.o pathfinder/npf/queue.o pathfinder/opf/opf_ship.o pathfinder/yapf/yapf_rail.o pathfinder/yapf/yapf_road.o pathfinder/yapf/yapf_ship.o pbs.o progress.o rail.o rail_cmd.o rail_gui.o rev.o road.o road_cmd.o road_gui.o road_map.o roadstop.o roadveh_cmd.o roadveh_gui.o saveload/afterload.o saveload/ai_sl.o saveload/airport_sl.o saveload/animated_tile_sl.o saveload/autoreplace_sl.o saveload/cargomonitor_sl.o saveload/cargopacket_sl.o saveload/cheat_sl.o saveload/company_sl.o saveload/depot_sl.o saveload/economy_sl.o saveload/engine_sl.o saveload/game_sl.o saveload/gamelog_sl.o saveload/goal_sl.o saveload/group_sl.o saveload/industry_sl.o saveload/labelmaps_sl.o saveload/linkgraph_sl.o saveload/map_sl.o saveload/misc_sl.o saveload/newgrf_sl.o saveload/object_sl.o saveload/oldloader.o saveload/oldloader_sl.o saveload/order_sl.o saveload/saveload.o saveload/signs_sl.o saveload/station_sl.o saveload/storage_sl.o saveload/story_sl.o saveload/strings_sl.o saveload/subsidy_sl.o saveload/town_sl.o saveload/vehicle_sl.o saveload/waypoint_sl.o screenshot.o script/api/script_accounting.o script/api/script_admin.o script/api/script_airport.o script/api/script_base.o script/api/script_basestation.o script/api/script_bridge.o script/api/script_bridgelist.o script/api/script_cargo.o script/api/script_cargolist.o script/api/script_cargomonitor.o script/api/script_company.o script/api/script_companymode.o script/api/script_controller.o script/api/script_date.o script/api/script_depotlist.o script/api/script_engine.o script/api/script_enginelist.o script/api/script_error.o script/api/script_event.o script/api/script_event_types.o script/api/script_execmode.o script/api/script_game.o script/api/script_gamesettings.o script/api/script_goal.o script/api/script_group.o script/api/script_grouplist.o script/api/script_industry.o script/api/script_industrylist.o script/api/script_industrytype.o script/api/script_industrytypelist.o script/api/script_infrastructure.o script/api/script_list.o script/api/script_log.o script/api/script_map.o script/api/script_marine.o script/api/script_news.o script/api/script_object.o script/api/script_order.o script/api/script_rail.o script/api/script_railtypelist.o script/api/script_road.o script/api/script_sign.o script/api/script_signlist.o script/api/script_station.o script/api/script_stationlist.o script/api/script_story_page.o script/api/script_storypageelementlist.o script/api/script_storypagelist.o script/api/script_subsidy.o script/api/script_subsidylist.o script/api/script_testmode.o script/api/script_text.o script/api/script_tile.o script/api/script_tilelist.o script/api/script_town.o script/api/script_townlist.o script/api/script_tunnel.o script/api/script_vehicle.o script/api/script_vehiclelist.o script/api/script_viewport.o script/api/script_waypoint.o script/api/script_waypointlist.o script/api/script_window.o script/script_config.o script/script_info.o script/script_info_dummy.o script/script_instance.o script/script_scanner.o script/squirrel.o script/squirrel_std.o sdl.o settings.o settings_gui.o ship_cmd.o ship_gui.o signal.o signs.o signs_cmd.o signs_gui.o smallmap_gui.o sound.o sound/null_s.o sound/sdl_s.o sprite.o spritecache.o spriteloader/grf.o station.o station_cmd.o station_gui.o statusbar_gui.o story.o story_gui.o strgen/strgen_base.o string.o stringfilter.o strings.o subsidy.o subsidy_gui.o terraform_cmd.o terraform_gui.o textbuf.o texteff.o textfile_gui.o tgp.o thread/thread_pthread.o tile_map.o tilearea.o timetable_cmd.o timetable_gui.o toolbar_gui.o town_cmd.o town_gui.o townname.o train_cmd.o train_gui.o transparency_gui.o tree_cmd.o tree_gui.o tunnel_map.o tunnelbridge_cmd.o vehicle.o vehicle_cmd.o vehicle_gui.o vehiclelist.o video/dedicated_v.o video/null_v.o video/sdl_v.o viewport.o viewport_gui.o viewport_sprite_sorter_sse4.o void_cmd.o water_cmd.o waypoint.o waypoint_cmd.o waypoint_gui.o widget.o widgets/dropdown.o window.o    -lstdc++ -lpthread -lc -lSDL -lpthread -lz  -llzma  -lpng16  -lfontconfig -lfreetype  -lfreetype  -liculx -licu-le-hb -licuuc -licudata  -licui18n -licuuc -licudata  -o openttd
gfx_layout.o:(.data.rel.ro._ZTV4Font[_ZTV4Font]+0x28): undefined reference to `icu::LEFontInstance::getSubFont(char16_t const*, int*, int, int, LEErrorCode&) const'
gfx_layout.o:(.data.rel.ro._ZTV4Font[_ZTV4Font]+0x48): undefined reference to `icu::LEFontInstance::mapCharsToGlyphs(char16_t const*, int, int, signed char, icu::LECharMapper const*, signed char, icu::LEGlyphStorage&) const'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../lib64/libiculx.so: undefined reference to `icu::LayoutEngine::layoutChars(char16_t const*, int, int, int, signed char, float, float, LEErrorCode&)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:268: openttd] Error 1
make[1]: Leaving directory '/var/tmp/portage/games-simulation/openttd-1.7.2/work/openttd-1.7.2/objs/release'
make: *** [Makefile:56: all] Error 1


# emerge --info
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-6.4.0, glibc-2.25-r10, 4.14.11-gentoo-r2 x86_64)
=================================================================
System uname: Linux-4.14.11-gentoo-r2-x86_64-Intel-R-_Core-TM-_i5-4690_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     8114500 total,    193308 free
KiB Swap:   16776768 total,  15636032 free
Timestamp of repository gentoo: Mon, 12 Feb 2018 18:30:01 +0000
Head commit of repository gentoo: 11afcd45bdbf92e3abf91c9f307752304d23d0da
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

dotnet
    location: /var/lib/layman/dotnet
    masters: gentoo
    priority: 50

dr
    location: /var/lib/layman/dr
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 anacron apache2 bash-completion berkdb bluetooth bluez branding btrfs bzip2 cairo cdda cdr cli client colord commercial conntrack cpufreq cpuload cramfs crypt css cups curl cxx dbus dri drm dts dvd dvdnav dvdr eds egl emboss encode evdev evo exif f2fs fam fbcon fbcondecor fgcom flac fortran gbm gd gdbm gif glamor gles gles1 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gudev iconv icu introspection ipv6 joystick jpeg lcms ldap libkms libnotify libsecret llvm llvm-shared-libs mad minizip mmx mng modules mp3 mp4 mpeg mtp multilib mysql nautilus ncurses nfs nfsv3 nfsv4 nfsv41 nls nptl ogg opengl openmp pam pango pcntl pcre pcre16 pdf png policykit postproc ppds pulseaudio python qt3support qt5 r600-llvm-compiler readline resolvconf sdl seccomp snmp spell sse sse2 ssl startup-notification svg systemd tcpd threads tiff tracepath traceroute tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xa xattr xcb xml xv xvid zip zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Andreas Sturmlechner gentoo-dev 2018-02-22 15:18:54 UTC
Did you build icu with GCC-5 or GCC-6?
Comment 7 Steven Davies 2018-02-22 16:14:11 UTC
gcc-6.4.0:

# gcc-config -l
 [1] x86_64-pc-linux-gnu-6.4.0 *
# emerge -1 icu
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Running pre-merge checks for dev-libs/icu-60.2
>>> Emerging (1 of 1) dev-libs/icu-60.2::gentoo
>>> Installing (1 of 1) dev-libs/icu-60.2::gentoo
>>> Jobs: 1 of 1 complete                           Load avg: 2.60, 0.90, 0.35
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

# emerge '=games-simulation/openttd-1.7.2' -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] games-simulation/openttd-1.7.2::gentoo  USE="iconv icu openmedia png timidity truetype zlib -aplaymidi -debug -dedicated -lzo" CPU_FLAGS_X86="sse" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) games-simulation/openttd-1.7.2::gentoo
>>> Failed to emerge games-simulation/openttd-1.7.2, Log file:
>>>  '/var/tmp/portage/games-simulation/openttd-1.7.2/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 3.13, 1.24, 0.56
Comment 8 aditsu 2018-05-13 15:34:40 UTC
In the meantime I tried to compile openttd-1.8.0_rc1 and found the same problem.
However, I hadn't yet switched to the PIE-enabled GCC.
So I finally did that and recompiled everything according to the "New 17.0 profiles" news item, then afterwards I was able to compile openttd-1.8.0_rc1.
Comment 9 Lars Wendler (Polynomial-C) gentoo-dev 2018-07-16 09:33:05 UTC
Closing as there's nothing we can do to fix this kind of issue.