Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473032 - =sys-kernel/gentoo-sources-3.9.5 - arch/x86/built-in.o:(.rodata+0x3978): undefined reference to `sys32_lseek'
Summary: =sys-kernel/gentoo-sources-3.9.5 - arch/x86/built-in.o:(.rodata+0x3978): unde...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-11 20:54 UTC by Martin Gysel (bearsh)
Modified: 2013-06-13 09:25 UTC (History)
0 users

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


Attachments
kernel config (.config,100.84 KB, text/plain)
2013-06-12 07:14 UTC, Martin Gysel (bearsh)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gysel (bearsh) 2013-06-11 20:54:14 UTC
$ ARCH="x86_64" KBUILD_OUTPUT=/var/cache/build_kernel make
  GEN     /var/cache/build_kernel/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: Für das Ziel »all« ist nichts zu tun.
make[2]: Für das Ziel »relocs« ist nichts zu tun.
  Using /usr/src/linux-3.9.5-gentoo as source for kernel
  GEN     /var/cache/build_kernel/Makefile
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    /usr/src/linux-3.9.5-gentoo/scripts/checksyscalls.sh
<stdin>:1223:2: Warnung: #warning syscall finit_module not implemented [-Wcpp]
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/compile.h
make[4]: »arch/x86/realmode/rm/realmode.bin« ist bereits aktualisiert.
  GZIP    kernel/config_data.gz
  CHK     kernel/config_data.h
  UPD     kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
arch/x86/built-in.o:(.rodata+0x3978): undefined reference to `sys32_lseek'
arch/x86/built-in.o:(.rodata+0x3af8): undefined reference to `sys32_sigaction'
arch/x86/built-in.o:(.rodata+0x3b20): undefined reference to `sys32_sigsuspend'
arch/x86/built-in.o:(.rodata+0x3c50): undefined reference to `stub32_iopl'
arch/x86/built-in.o:(.rodata+0x3de8): undefined reference to `sys32_sched_rr_get_interval'
arch/x86/built-in.o:(.rodata+0x3e50): undefined reference to `sys32_rt_sigaction'
arch/x86/built-in.o:(.rodata+0x3e60): undefined reference to `sys32_rt_sigpending'
arch/x86/built-in.o:(.rodata+0x3e70): undefined reference to `sys32_rt_sigqueueinfo'
make[1]: *** [vmlinux] Fehler 1
make: *** [sub-make] Fehler 2

Reproducible: Always

Actual Results:  
build fails

Expected Results:  
build succeeds

it worked with 3.8.x
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-11 21:54:57 UTC
Please go through these troubleshooting questions:

1) Please comment with your `emerge --info`, I need to check some things of it.
2) Please attach your .config, mine didn't produce this; so I can replicate.
3) Since you explicitly use ARCH="x86_64", are you cross compiling?
4) Do you use any custom patches?
5) Could you try another 3.9.x kernel version to see if it regressed lately?

Thank you in advance.
Comment 2 Martin Gysel (bearsh) 2013-06-12 07:14:28 UTC
Created attachment 350812 [details]
kernel config
Comment 3 Martin Gysel (bearsh) 2013-06-12 07:14:54 UTC
sorry for the missing parts, I was already on the way to bed when posting this bug...

(In reply to Tom Wijsman (TomWij) from comment #1)
> 1) Please comment with your `emerge --info`, I need to check some things of
> it.

will add this in the next comment

> 2) Please attach your .config, mine didn't produce this; so I can replicate.

ok, this config is based on my working 3.8.x kernel

> 3) Since you explicitly use ARCH="x86_64", are you cross compiling?

no, and there's no good reason I use this, but it also fails without it

> 4) Do you use any custom patches?

no

> 5) Could you try another 3.9.x kernel version to see if it regressed lately?

I tried it with .3, .4 and not .5
Comment 4 Martin Gysel (bearsh) 2013-06-12 07:15:38 UTC
# emerge --info
Portage 2.2.0_alpha179 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.8.11-gentoo x86_64)
=================================================================
System uname: Linux-3.8.11-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9300_@_2.26GHz-with-gentoo-2.2
KiB Mem:     3948212 total,    143648 free
KiB Swap:    4192928 total,   4079168 free
Timestamp of tree: Tue, 11 Jun 2013 20:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.3.2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local kde bearsh
Installed sets: @mykde, @mymedia, @myoffice, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/share/config/kdm /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-3.0"
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/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe -msse4.1"
DISTDIR="/var/cache/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="de_CH.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-s -j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/kde /var/lib/layman/bearsh"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif gnutls gpm gstreamer iconv inotify inotitfy ipv6 jpeg kde kipi lcms libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python qt qt3support qt4 readline sdl semantic-desktop session spell sse sse2 sse41 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upnp upower usb v4l vaapi vorbis x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="de en de_CH" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="vesa 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Martin Gysel (bearsh) 2013-06-13 09:25:40 UTC
oups, after I've deleted all files in the KBUILD_OUTPUT directory and started again (with a defconfig or my own) it builds fine.
this is strange as I'm pretty sure I also tried it with a 'make clean'...

anyway, closing as resolved invalid, sorry for the noise