Created attachment 527226 [details] media-libs:sdl2-image-2.0.3:20180412-192243.log.gz * Package: media-libs/sdl2-image-2.0.3 * Repository: gentoo * Maintainer: games@gentoo.org * USE: arm elibc_glibc gif jpeg kernel_linux png tiff userland_GNU * FEATURES: preserve-libs sandbox test userpriv usersandbox libtool: link: armv7a-hardfloat-linux-gnueabi-gcc -I/usr/include/libpng16 -O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard -I/usr/include/SDL2 -D_REENTRANT -Wl,-O1 -Wl,--as-needed -o .libs/showimage showimage.o ./.libs/libSDL2_image.so -L/usr/lib -lpng16 -ljpeg -ltiff -lz -lSDL2 ./.libs/libSDL2_image.so: undefined reference to `SDL_ceilf' ./.libs/libSDL2_image.so: undefined reference to `SDL_acosf' ./.libs/libSDL2_image.so: undefined reference to `SDL_floorf' ./.libs/libSDL2_image.so: undefined reference to `SDL_fabsf' ./.libs/libSDL2_image.so: undefined reference to `SDL_fmodf' ./.libs/libSDL2_image.so: undefined reference to `SDL_atan2f' collect2: error: ld returned 1 exit status make: *** [Makefile:551: showimage] Error 1 * ERROR: media-libs/sdl2-image-2.0.3::gentoo failed (compile phase): * emake failed Portage 2.3.24 (python 2.7.14-final-0, default/linux/arm/13.0/armv7a/desktop, gcc-7.3.0, glibc-2.26-r6, 3.13.6 armv7l) ================================================================= System uname: Linux-3.13.6-armv7l-ARMv7_Processor_rev_2_-v7l-with-gentoo-2.4.1 KiB Mem: 505312 total, 172276 free KiB Swap: 2097148 total, 1517364 free Timestamp of repository gentoo: Sun, 08 Apr 2018 10:30:01 +0000 Head commit of repository gentoo: a7b683690af541f88f9a4e5b5e725d0ddc8de6f1 sh bash 4.4_p19 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 distcc 3.2rc1 armv7a-hardfloat-linux-gnueabi [disabled] ccache version 3.3.4 [disabled] app-shells/bash: 4.4_p19::gentoo dev-lang/perl: 5.26.1-r2::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.10.3::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.35.5::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.28-r2::gentoo, 2.28.1::gentoo, 2.29::gentoo, 2.29.1-r1::gentoo, 2.30-r1::gentoo sys-devel/gcc: 6.3.0::gentoo, 7.2.0-r1::gentoo, 7.3.0-r1::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.16::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://192.168.1.100/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: no sync-rsync-extra-opts: maekke location: /home/maekke/git/maekke masters: gentoo priority: 0 ACCEPT_KEYWORDS="arm ~arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv7a-hardfloat-linux-gnueabi" CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard" CHOST="armv7a-hardfloat-linux-gnueabi" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /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="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard" DISTDIR="/mnt/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs=2 --keep-going --backtrack=3" FCFLAGS="-O2 -pipe -march=armv7-a" FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe -march=armv7-a" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j2" 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="/mnt/distfiles/tmp/" USE="X a52 aac acl acpi alsa arm armv5te armv6 armv6t2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses neon nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 vfp" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="ARM" 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="ruby21 ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev dummy" 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
...skipping... libtool: link: x86_64-pc-linux-gnu-gcc -m32 -I/usr/include/libpng16 -march=native -O3 -pipe -fomit-frame-pointer -I/usr/include/SDL2 -D_REENTRANT -Wl,-O1 -Wl,--as-needed -march=native -O3 -pipe -fomit-frame-pointer -o .libs/showimage showimage.o ./.libs/libSDL2_image.so -L/usr/lib64 -lpng16 -ljpeg -ltiff -lz -lwebp -lSDL2 /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpng16.so when searching for -lpng16 /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libjpeg.so when searching for -ljpeg /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libtiff.so when searching for -ltiff /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libz.so when searching for -lz /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libwebp.so when searching for -lwebp /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libSDL2.so when searching for -lSDL2 /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc ./.libs/libSDL2_image.so: undefined reference to `SDL_ceilf' ./.libs/libSDL2_image.so: undefined reference to `SDL_acosf' ./.libs/libSDL2_image.so: undefined reference to `SDL_floorf' ./.libs/libSDL2_image.so: undefined reference to `SDL_fabsf' ./.libs/libSDL2_image.so: undefined reference to `SDL_LoadFile_RW' ./.libs/libSDL2_image.so: undefined reference to `SDL_fmodf' ./.libs/libSDL2_image.so: undefined reference to `SDL_atan2f' collect2: error: ld returned 1 exit status
looks like its fixed by updating libSDL2 to 2.0.8-r1
Markus, can you confirm it?
I confirm. Have the same linking problem. gcc 8.2, profile 17.0
The dep for libsdl2 has been updated