Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703498 - media-gfx/asymptote-2.41-r1 fails to build: undefined reference to `GC_throw_bad_alloc
Summary: media-gfx/asymptote-2.41-r1 fails to build: undefined reference to `GC_throw_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on: 704902
Blocks:
  Show dependency tree
 
Reported: 2019-12-21 17:50 UTC by Andrius Štikonas
Modified: 2020-01-10 14:39 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,130.31 KB, text/x-log)
2019-12-21 17:51 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2019-12-21 17:50:50 UTC
media-gfx-asymptote-2.41-r1 fails to build with gcc 9

Reproducible: Always




Portage 2.3.79 (python 3.6.9-final-0, !../../usr/portage/profiles/default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo-gnu x86_64)
=================================================================
System uname: Linux-4.19.86-gentoo-gnu-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    16366596 total,   1788928 free
KiB Swap:   16777212 total,  16564056 free
Timestamp of repository gentoo: Fri, 20 Dec 2019 17:15:01 +0000
Head commit of repository gentoo: 3925f99040b7bd64c1928a2a9581b23ea30da172
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://stikonas.eu/gentoo-portage
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

Local-overlay
    location: /var/lib/portage/overlay
    masters: gentoo
    priority: 1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register"
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"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /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 -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register"
DISTDIR="/usr/portage/distfiles"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
PKGDIR="/var/cache/binpkgs"
PORTAGE_TMPDIR="/var/tmp"
USE="16k_voice R X a52 aac aacs aalib acl acpi activities addns addressbook ads aesicm aimodules aio akonadi alsa amd64 amr analitza android androiddump aot ap apache2 apng appindicator archive argon2 atmo attica auth autoipd autoreplace autotools autotype avahi baremetal bash-completion bazaar berkdb bindist bittorrent bl blender bluetooth bluray bogofilter bookmarks boost botan branding browser bs2b btrfs bugzilla bzip2 c++0x cairo cantor captcha cdb cdda cddb cdio cdr cgi chappa chatzilla chm chromium cjk clang cli client clucene cmake color color-management colord colordiff colorio connection-sharing contactnotes context contrib contrib_cvv contrib_hdf contrib_sfm crypt cryptsetup csharp css csv cups curl custom-optimization cvs cxx cycles d d3d9 dbus dc1394 deblob declarative deflate dep designer designer-plugin desktopglobe device-mapper dhclient dirac discover djvu dlz dmraid dnssec doc-pdf docbook dos dot downloadorder dpi drafts dri dri3 drm dts dump dvb dvd dvdnav dvdr dvi dvi2tty dvipdfm dynamic eap-sim eap-tls ebook ecdh edit editor egl eigen emacs emboss emovix enchant encode epub equalizer eselect-ldso evdev exif extensions extra extra-algorithms extraengine extras f2fs fakevim fam farstream fat fbcon festival ffmpeg fftw fgpanel fits flac fltk fluidsynth fontconfig fontforge foomaticdb fortran fortran2003 fortran95 fortune fpm fpx freetds ftp fuse g3dvl gadu gallium games garmin gbm gc gcj gcrypt gd gdal gdata gdbm gecko gentoo-vm geoip geoloc geolocation gflags ghcbootstrap gif gimp git gles gles1 gles2 gles3 glew glib glog glsl gmail gme gmp gnome-online-accounts gnuefi gnuplot gnutls go gold google gpg gpgme gphoto2 gpm gps gpssync gptfdisk gpu graphics graphite graphviz grub gsl gsm gssapi gstreamer gtk gtk3 gtkspell gtkstyle gudev gui guile gyroscopic gzip handbook haptic harden hdf5 hdri hfs highlight history hostonly hscolour html http hunspell hwaccel hwdb i18n icedtea7 iconv icu id3tag ieee1394 ilbc imagemagick imaging imap imlib imlib2 import-filter inkjar inotify inspector introspection iodbc ipc iplayer iproute2 ipv6 irc ithreads jabber jadetex java javascript jbootstrap jfs jingle jit jpeg jpeg2k json jumbo-build kate kde kdecards kdenlive kdepim keeshare kerberos kexiv2 keymap kipi kontact kpathsea ktp kwallet lame lapack laptop lastfm latex latexmk lcms ldap legacy-systray lensfun less libass libav-aac libcaca libevent libilbc libinput libkms libmpv libnotify libproxy libsamplerate libssh2 libtiger libtirpc libxml2 lightning llvm lm-sensors lm_sensors lpsol lto lua luatex lvm lyrics lz4 lzma lzo mad magic magnetgenerator maildir marble markdown math mathml matplotlib matroska md5sum mdadm mdnsresponder-compat meanwhile mediaplayer mediawiki melt mercurial metalink mhash midi mikmod minizip mjpeg mms mng mobi mod mod_muc mod_pubsub modemmanager modplug monolithic monolithic-build monotone mount mp3 mp4 mpeg mpeg2 mpg123 mplayer mpx mtp multilib multimedia multitarget musepack music musicbrainz mysql mysqli mythtv nat native native-exceptions native-extensions natspec ncurses netapi nethack network networking networkmanager new-login nftables nls nntp nptl nscd nsplugin nss ntfs ntfsprogs ntp numpy oauth objc objc++ octave offlinehelp ogg ogg123 ogm okular omega openal openconnect opencv openexr opengl opengtl openid openimageio openinventor openldap openmp openstreetmap optimization opus otr p2p pam pango parcheck parted pcap pcmcia pcntl pcre pcre16 pdf pdfimport pdo perl phonon pim pkcs11 plasma player plotutils plymouth png pnm policykit postgres postproc postscript ppds prediction preview-latex printsupport prison privacy private-headers privatestorage projectm ps psf pstoedit pstricks pth publishers pulseaudio pwquality pyqt4 python qalculate qml qrcode qt5 qthelp qtmedia quickstarter quicktime quota qwt r600-llvm-compiler radio radius raster raw rdesktop readline realtime redeyes reencrypt regex reiser4 reiserfs required-use reviewboard rss rsync-verify rtmp rtsp ruby s3tc samba sandbox sasl sbcl scanner schroedinger science screencast script scripts scripttools sdk sdl sdl2 search seccomp secure-delete security semantic-desktop sensord server sftp sha512 shapefile shared-dricore shared-glapi sip sipim skins smartcard snappy sndfile soap sockets socks5 solver soprano sound soundtouch spacenav sparse speech speex spell spice split-usr sql sqlite sqlite3 srt srtp ssh ssl staging stars startup-notification statistics strong-optimization stun subversion suhosin supernodal svc svg symlink sync-plugin-portage syslog system-av1 system-boost system-bootstrap system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-lcms system-libevent system-libs system-libvpx system-libyaml system-llvm system-lua system-mitkrb5 system-qemu system-renpy system-seabios system-snappy system-sqlite system-tbb system-uulib system-zlib systemd szip taglib tcl tcpd telepathy templates terminal tesseract tex4ht texteffect tfshark themedesigner themes theora thesaurus threads thumbnail thumbnails tidy tiff timidity tk tls tntc tools tor tordns touchpad translator truetype tty-helpers twolame udev udf udisks udisks2 umfpack unicode unlock-notify unzip update_drivedb upnp upnp-av upower urlpreview usb usbredir user-session utils v4l v8 vaapi vala valgrind vamp vc vcd vdpau video videos videoslideshow vim vim-syntax vlc vlm vnc vorbis vpx vulkan wallet wav wavpack wayland wayland-compositor wcs webcam webchannel webdav webengine webgl webkit webkit2 webm webp widgets wifi wikipedia win32 win64 winbind wma wmf word-perfect wps wxwidgets x264 x265 xa xattr xcb xcomposite xetex xface xfs xft xinerama xkb xml xmlrpc xmlwriter xmp xorg xplanet xpm xrandr xrender xslt xv xvfb xvid xvmc xwayland xz yahoo youtube zeroconf zeromq zip zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 3dnow 3dnowext fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics keyboard mouse wacom" KERNEL="linux" L10N="lt en en-GB" 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="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="i965 intel iris nouveau radeon radeonsi amdgpu dummy fbdev vesa" 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:  EMERGE_DEFAULT_OPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND
Comment 1 Andrius Štikonas 2019-12-21 17:51:13 UTC
Created attachment 600306 [details]
build.log
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-12-22 11:33:44 UTC
That is probably not a gcc-9 fallout, but a bug exposed by dev-libs/boehm-gc-8.

https://github.com/ivmai/bdwgc/issues/268 has a hint how to fix it: link to -lgccpp.
Comment 3 Andrey Grozin gentoo-dev 2019-12-23 17:06:53 UTC
I cannot reproduce this problem. I've just recompiled boehm-gc and asymptote with gcc-9.2.0-r3 successfully. For asymptote I used USE=doc, it is an excellent testsuite - runs asymptote on many non-trivial *.asy files.
Comment 4 Andrius Štikonas 2019-12-23 17:22:31 UTC
(In reply to Andrey Grozin from comment #3)
> I cannot reproduce this problem. I've just recompiled boehm-gc and asymptote
> with gcc-9.2.0-r3 successfully. For asymptote I used USE=doc, it is an
> excellent testsuite - runs asymptote on many non-trivial *.asy files.

Are you trying current stable version of asymptote. I've recompiled boegm-gc, and same build error.

On the other hand, asymptote-2.61 builds fine.
Comment 5 Andrey Grozin gentoo-dev 2019-12-24 14:36:52 UTC
Sorry, I haven't noticed that you mean 2.41. Time to stabilize 2.61. It has been added on December 7. So, on January 7 I'll file a stabilization bug.
Comment 6 Larry the Git Cow gentoo-dev 2020-01-10 14:39:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3562e44e75c75cea9d5269be43e221040ee3da

commit fa3562e44e75c75cea9d5269be43e221040ee3da
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2020-01-10 14:38:47 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2020-01-10 14:38:47 +0000

    media-gfx/asymptote: remove version 2.41
    
    Closes: https://bugs.gentoo.org/703498
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 media-gfx/asymptote/Manifest                       |   1 -
 media-gfx/asymptote/asymptote-2.41-r1.ebuild       | 218 ---------------------
 .../files/asymptote-2.41-configure-ac.patch        |  13 --
 .../asymptote/files/asymptote-2.41-info.patch      |  13 --
 .../asymptote/files/asymptote-2.41-perl-5.26.patch |  10 -
 .../asymptote/files/asymptote-2.41-xdg-utils.patch |  23 ---
 6 files changed, 278 deletions(-)