Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542322 - app-benchmarks/ltp-20150119 on HPPA - .../work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:112: undefined reference to `io_submit'
Summary: app-benchmarks/ltp-20150119 on HPPA - .../work/ltp-full-20150119/testcases/ke...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-06 05:54 UTC by Jeroen Roovers (RETIRED)
Modified: 2016-10-01 07:16 UTC (History)
1 user (show)

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


Attachments
app-benchmarks:ltp-20150119:20150305-193858.log.xz (20150305-193858.log.xz,33.04 KB, application/x-xz)
2015-03-06 05:54 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-03-06 05:54:34 UTC
Created attachment 398206 [details]
app-benchmarks:ltp-20150119:20150305-193858.log.xz

make[4]: Entering directory '/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit
'
hppa2.0-unknown-linux-gnu-gcc -mschedule=8000 -march=2.0 -ggdb -Wall -Wformat=2 -O2 -pipe -Wno-comment -g -O2 -fno-strict-aliasing -
pipe -Wall -W -mschedule=8000 -march=2.0 -ggdb -Wall -Wformat=2 -O2 -pipe -Wno-comment -Wold-style-definition  -I/dev/shm/portage/ap
p-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/include -I../../../../include -I../../../../include -Wl,-O1 -Wl,--
hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory  -L../../../../lib  io_submit01.c   -lltp  -o io_submit01
/dev/shm/portage/app-benchmarks/ltp-20150119/temp/ccUoH81y.o: In function `main':
/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:112: undefined reference to `io_submit'
/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:116: undefined reference to `io_setup'
/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:119: undefined reference to `io_submit'
/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:130: undefined reference to `io_submit'
/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:147: undefined reference to `io_submit'
/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:157: undefined reference to `io_submit'
/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:177: undefined reference to `io_submit'
/dev/shm/portage/app-benchmarks/ltp-20150119/temp/ccUoH81y.o:/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit/io_submit01.c:181: more undefined references to `io_submit' follow
collect2: error: ld returned 1 exit status
distcc[27055] ERROR: compile io_submit01.c on localhost failed
<builtin>: recipe for target 'io_submit01' failed
make[4]: *** [io_submit01] Error 1
make[4]: Leaving directory '/dev/shm/portage/app-benchmarks/ltp-20150119/work/ltp-full-20150119/testcases/kernel/syscalls/io_submit'
../../../include/mk/generic_trunk_target.inc:93: recipe for target 'all' failed

[ebuild     U ~] app-benchmarks/ltp-20150119 [20140828] USE="expect open-posix perl pm python rt" 0 KiB

Fri  6 Mar 06:53:55 CET 2015
emerge --info 
Portage 2.2.14 (python 3.4.1-final-0, default/linux/hppa/13.0, gcc-4.8.3, glibc-2.19-r1, 3.18.7-gentoo-JeR parisc64)
=================================================================
System uname: Linux-3.18.7-gentoo-JeR-parisc64-PA8800_-Mako-with-gentoo-2.2
KiB Mem:     8231368 total,   5644648 free
KiB Swap:    2101676 total,   2101676 free
Timestamp of tree: Fri, 06 Mar 2015 04:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 hppa2.0-unknown-linux-gnu [enabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.22-r1, 2.23.1, 2.23.2, 2.24-r3
sys-devel/gcc:            4.6.3, 4.6.4, 4.7.2-r1, 4.7.3-r1, 4.8.1-r1, 4.8.3, 4.8.4, 4.9.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo JeR
ACCEPT_KEYWORDS="hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -Wformat=2 -O2 -pipe -Wno-comment"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/distcc/bin /usr/share/gnupg/qualified.txt /var/bind /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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="-mschedule=8000 -march=2.0 -ggdb -Wall -Wformat=2 -O2 -pipe"
DISTDIR="/world/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs buildpkg cgroup compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -Wformat=2 -O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.leaseweb.com/gentoo/ http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
MAKEOPTS="-j6"
PKGDIR="/keeps/gentoo/packages/karsten"
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"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/world/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
USE="256-color X acl alsa amr anacron apng argyllcms audit bash-completion beautifulsoup3 berkdb bfio bittorrent botan bzip2 cairo canberra cli consolekit coverage cracklib crossdev crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz doc dot dri emacs exceptions exif expat fbcon filecaps firefox firmware foomaticdb fortran frontend-optional g-sorcery gbm gdbm geoip geoloc glep gles1 gles2 gost gpg gpm graphite gsm gstreamer gtk gudev guile hddtemp hppa hwdb iconv idn imlib inotify ipv6 jadetex javascript jingle jit jpeg jpeg2k json kdrive kmod ladspa lasi launch-frontend libav libcaca libcanberra libevent libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug modules mp3 multislot multitarget munge nagios ncurses netlink nfs nls nptl objc objc++ objc-gc offensive openexr opengl openmp openrc openvg opus oqgraph osmesa oss pam pcre pcre16 php pic pkcs11 png pnm policykit python qt qt3support qt4 readline realtime regression-test rtmp samba sbc schroedinger sctp session smi socks5 speex spell spidermonkey sqlite ssl svg tcl tcpd test tga theora threads tiff tk tokyocabinet truetype unicode unwind v4l vim-syntax vorbis vpx wayland wcwidth x264 xa xattr xcb xft xhtml xkb xml2 xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" APACHE2_MODULES="authz_host dir mime alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="nfs syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl he" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="stifb 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2015-04-23 21:04:47 UTC
Well, maybe drop your keyword if the package does not build for you?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-25 07:56:45 UTC
(In reply to Markos Chandras from comment #1)
> Well, maybe drop your keyword if the package does not build for you?

That fails to make sense.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2015-04-25 08:18:44 UTC
Your arch seems to be missing the 'io_submit' function from libaio i think.

http://manpages.ubuntu.com/manpages/raring/man2/io_submit.2.html

so there is nothing I can do to fix this in the ltp package for hppa. The only way around it is to patch the build system to remove that test for you

does that make sense now?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-25 08:41:34 UTC
ltp doesn't even depend on libaio. As far as I know, glibc should now provide those functions.

The io_* functions got "wired up" for PARISC in 2013[1] but maybe something wasn't done correctly at the time. The changes were apparently merged in kernel 3.9, so the current stable linux-headers should also carry them.

[1] http://permalink.gmane.org/gmane.linux.ports.parisc/4851
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-25 08:44:38 UTC
LTP is supposed to find problems, so the ebuild failing is a Good Thing because that means it just found a problem. Dropping a keyword let alone a test because of platform specific problems is a Bad Thing.
Comment 6 Toralf Förster gentoo-dev 2015-06-14 10:14:34 UTC
/me assumes, this is a dup : ? 

app-benchmarks/ltp-20150420: : /var/tmp/portage/app-benchmarks/ltp-20150420/work/ltp-full-20150420/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authdes_seccreate/tirpc_authdes_seccreate.c:55: undefined reference to `authdes_seccreate'
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2015-06-14 10:33:12 UTC
(In reply to Toralf Förster from comment #6)
> /me assumes, this is a dup : ? 
> 
> app-benchmarks/ltp-20150420: :
> /var/tmp/portage/app-benchmarks/ltp-20150420/work/ltp-full-20150420/
> testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/
> tirpc_auth_authdes_seccreate/tirpc_authdes_seccreate.c:55: undefined
> reference to `authdes_seccreate'

It pretty obviously is not.
Comment 8 Pacho Ramos gentoo-dev 2016-10-01 07:16:08 UTC
removed