Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 677550

Summary: dev-lang/ruby-2.6.0-r1 USE=-jit - hppa2.0-unknown-linux-gnu-ld: array.o: in function `empty_ary_alloc': .../work/ruby-2.6.0/array.c:658: undefined reference to `ruby_array__create_semaphore'
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: hppa, matoro_bugzilla_gentoo
Priority: Normal    
Version: unspecified   
Hardware: HPPA   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=673784
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-lang:ruby-2.6.0-r1:20190209-111622.log

Description Jeroen Roovers (RETIRED) gentoo-dev 2019-02-09 15:26:11 UTC
hppa2.0-unknown-linux-gnu-gcc -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -fno-strict-aliasing -fPIC  -L. -Wl,-O1 -Wl,--hash-style=gnu -Wl,-
-as-needed -Wl,--no-keep-memory -rdynamic -Wl,-export-dynamic -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory main.o dmydln.o miniinit.o dmy
ext.o miniprelude.o array.o ast.o bignum.o class.o compar.o compile.o complex.o cont.o debug.o debug_counter.o dir.o dln_find.o encoding.o enum.o enumerator.o
 error.o eval.o file.o gc.o hash.o inits.o io.o iseq.o load.o marshal.o math.o mjit.o mjit_compile.o node.o numeric.o object.o pack.o parse.o proc.o process.o
 random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o str
uct.o symbol.o thread.o time.o transcode.o transient_heap.o util.o variable.o version.o vm.o vm_backtrace.o vm_dump.o vm_trace.o   enc/ascii.o enc/us_ascii.o
enc/unicode.o enc/utf_8.o enc/trans/newline.o setproctitle.o strlcat.o strlcpy.o addr2line.o  -lz -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm  -lm   -o minirub
y
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: array.o: in function `empty_ary_alloc':
/var/tmp/portage/dev-lang/ruby-2.6.0-r1/work/ruby-2.6.0/array.c:658: undefined reference to `ruby_array__create_semaphore'
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/ruby-2.6.0-r1/work/ruby-2.6.0/array.c:658: undefined reference to `ruby_array__create_semaphore'
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: array.o: in function `ary_new':
/var/tmp/portage/dev-lang/ruby-2.6.0-r1/work/ruby-2.6.0/array.c:670: undefined reference to `ruby_array__create_semaphore'
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/ruby-2.6.0-r1/work/ruby-2.6.0/array.c:674: undefined reference to `ruby_array__create_semaphore'
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: array.o:(.note.stapsdt+0x1c): undefined reference to `ruby_array__create_semaphore'
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: array.o:(.note.stapsdt+0x6c): more undefined references to `ruby_array__create_semaphore' follow
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: gc.o: in function `gc_prof_sweep_timer_start':
/var/tmp/portage/dev-lang/ruby-2.6.0-r1/work/ruby-2.6.0/gc.c:9102: undefined reference to `ruby_gc__sweep__begin_semaphore'
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: /var/tmp/portage/dev-lang/ruby-2.6.0-r1/work/ruby-2.6.0/gc.c:9102:
undefined reference to `ruby_gc__sweep__begin_semaphore'
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/7.3.0/../../../../hppa2.0-unknown-linux-gnu/bin/ld: gc.o: in function `gc_prof_sweep_timer_stop':
/var/tmp/portage/dev-lang/ruby-2.6.0-r1/work/ruby-2.6.0/gc.c:9115: undefined reference to `ruby_gc__sweep__end_semaphore'
[...]
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-02-09 15:28:24 UTC
Created attachment 564344 [details]
dev-lang:ruby-2.6.0-r1:20190209-111622.log

[ebuild  NS    ] dev-lang/ruby-2.6.0-r1:2.6::gentoo [2.4.5-r1:2.4::gentoo, 2.5.3:2.5::gentoo] USE="berkdb examples gdbm ipv6 rdoc rubytests socks5 ssl tk -debug -doc -jemalloc -jit% -libressl -static-libs -xemacs" 0 KiB

Sat  9 Feb 16:27:49 CET 2019
emerge --info dev-lang/ruby:2.6
Portage 2.3.59 (python 3.5.5-final-0, default/linux/hppa/17.0, gcc-7.3.0, glibc-2.28-r5, 5.0.0-rc2-JeR-00141-g47bfa6d9dc8c parisc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.0-rc2-JeR-00141-g47bfa6d9dc8c-parisc64-PA8800_-Mako-with-gentoo-2.6
KiB Mem:     8233168 total,   5384912 free
KiB Swap:    2101676 total,   2098340 free
Timestamp of repository gentoo: Sat, 09 Feb 2019 03:45:01 +0000
Head commit of repository gentoo: bab1913fa8375a076981c945481af1f1a71fd8b9
sh bash 5.0_p2
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
distcc 3.3.2 hppa2.0-unknown-linux-gnu [enabled]
ccache version 3.6 [disabled]
app-shells/bash:          5.0_p2::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.13.4::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.3::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r3::gentoo, 1.12.6::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.29::gentoo, 2.29.1-r1::gentoo, 2.30-r3::gentoo, 2.31.1-r3::gentoo
sys-devel/gcc:            6.4.0-r5::gentoo, 7.3.0-r6::gentoo, 8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /aches/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

JeR
    location: /aches/gentoo/local
    masters: gentoo
    priority: -100

ACCEPT_KEYWORDS="hppa ~hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/distcc/bin /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
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.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n --keep-going --ignore-built-slot-operator-deps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
GENTOO_MIRRORS=" 	http://ftp.snt.utwente.nl/pub/os/linux/gentoo 	http://mirror.leaseweb.com/gentoo/ 	http://mirror.netcologne.de/gentoo/ "
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
LINGUAS="en nl he"
MAKEOPTS="-j3"
PKGDIR="/aches/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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="256-color X acl alsa amr anacron apng argyllcms audit bash-completion beautifulsoup3 berkdb bfio big-endian bittorrent botan bzip2 cairo canberra cli consolekit coverage crossdev crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz dot dri emacs exceptions exif expat fbcon ffmpeg filecaps firefox firmware foomaticdb fortran frontend-optional g-sorcery gbm gdbm geoip geoloc glep gles1 gles2 gost gpg gpm 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 lensfun libcaca libcanberra libevent libidn2 libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug mp3 mtp multislot multitarget munge nagios nas natspec ncurses netlink nfs nls nptl objc objc++ objc-gc offensive ofono-headset openexr opengl openmp openrc openvg opus oqgraph osmesa oss pam pcre pcre16 php pic pkcs11 png pnm policykit python qt qt3support qt4 raw readline realtime regression-test rtmp rubytests samba sbc schroedinger sctp smi snappy socks5 speex spell spidermonkey sqlite ssl svg tcl tcpd tga theora threads tiff tk tokyocabinet truetype unicode unwind v4l vim-syntax vorbis vpx wcwidth x264 x265 xattr xcb xft xhtml xkb xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 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 virtualbox libinput void" KERNEL="linux" L10N="en nl he" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_6 python3_5" RUBY_TARGETS="ruby24 ruby25 ruby26" 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Michael 'veremitz' Everitt 2020-03-30 14:46:05 UTC
Does this still occur with 2.6.5 ?
Comment 3 matoro archtester 2022-12-04 03:51:58 UTC
Ruby 2.6 is removed from tree and this does not repro on Ruby 2.7.  Retest please?