Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920320 - dev-util/babeltrace-2.0.5 - objstack.c:116:18: error: allocation of insufficient size 1 for type struct objstack_node with size 32 [-Werror=alloc-size]
Summary: dev-util/babeltrace-2.0.5 - objstack.c:116:18: error: allocation of insuffici...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror gcc-14 gcc-14-stable
  Show dependency tree
 
Reported: 2023-12-19 10:58 UTC by Toralf Förster
Modified: 2024-11-02 02:26 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.11 KB, text/plain)
2023-12-19 10:58 UTC, Toralf Förster
Details
dev-util:babeltrace-2.0.5:20231219-103236.log.xz (dev-util:babeltrace-2.0.5:20231219-103236.log.xz,11.19 KB, application/x-xz)
2023-12-19 10:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,177.55 KB, text/plain)
2023-12-19 10:58 UTC, Toralf Förster
Details
environment (environment,92.71 KB, text/plain)
2023-12-19 10:58 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2023-12-19 10:58 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.82 KB, application/x-xz)
2023-12-19 10:58 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,27.30 KB, application/x-xz)
2023-12-19 10:58 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,47.72 KB, application/x-xz)
2023-12-19 10:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.77 KB, application/x-xz)
2023-12-19 10:58 UTC, Toralf Förster
Details
build.log (build.log,684.64 KB, text/plain)
2024-01-12 12:11 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-19 10:58:33 UTC
   64 |         node = calloc(sizeof(struct objstack_node) + OBJSTACK_INIT_LEN,
      |              ^
objstack.c: In function objstack_append_node:
objstack.c:116:18: error: allocation of insufficient size 1 for type struct objstack_node with size 32 [-Werror=alloc-size]
  116 |         new_node = calloc(sizeof(struct objstack_node) + (last_node->len << 1),
      |                  ^
cc1: all warnings being treated as errors
make[6]: *** [Makefile:631: libctf_parser_la-objstack.lo] Error 1
make[6]: *** Waiting for unfinished jobs....

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231215-225005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.20.12 linux/amd64

  HEAD of ::gentoo
commit 100427f47fff34c8f12abb9643850f6f818710de
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 19 08:01:57 2023 +0000

    2023-12-19 08:01:57 UTC

emerge -qpvO dev-util/babeltrace
[ebuild  N    ] dev-util/babeltrace-2.0.5  USE="elfutils man -doc -plugins -python" PYTHON_SINGLE_TARGET="python3_11 -pypy3 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-19 10:58:34 UTC
Created attachment 879957 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-19 10:58:35 UTC
Created attachment 879958 [details]
dev-util:babeltrace-2.0.5:20231219-103236.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-19 10:58:36 UTC
Created attachment 879959 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-19 10:58:37 UTC
Created attachment 879960 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-19 10:58:38 UTC
Created attachment 879961 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-19 10:58:39 UTC
Created attachment 879962 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-19 10:58:40 UTC
Created attachment 879963 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-19 10:58:41 UTC
Created attachment 879964 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-19 10:58:42 UTC
Created attachment 879965 [details]
temp.tar.xz
Comment 10 Leonid Kopylov 2024-01-12 12:11:17 UTC
unable to build it with gcc 13 as well

# emerge -pqv '=dev-util/babeltrace-2.0.5::gentoo'
[ebuild     U ] dev-util/babeltrace-2.0.5 [1.5.8] USE="doc%* elfutils%* man%* plugins%* python%* (-test%)" PYTHON_SINGLE_TARGET="python3_12%* -pypy3% -python3_10% -python3_11%"

# emerge --info '=dev-util/babeltrace-2.0.5::gentoo'
Portage 3.0.61 (python 3.12.1-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.38-r9, 6.7.0-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.7.0-gentoo-amd64-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-1360P-with-glibc2.38
KiB Mem:    65397452 total,  34566304 free
KiB Swap:    8388604 total,   8385020 free
Timestamp of repository gentoo: Fri, 12 Jan 2024 07:30:01 +0000
Head commit of repository gentoo: 71e0ff8e760c88f23a2261b0e6e27b673f3b9840
Timestamp of repository EmilienMottet: Wed, 10 Jan 2024 11:18:37 +0000
Head commit of repository EmilienMottet: 04151f0e8dd2710d25be0f347f30a970c938f41e

Timestamp of repository HomeAssistantRepository: Wed, 10 Jan 2024 11:18:31 +0000
Head commit of repository HomeAssistantRepository: b785d25bff8ff3be5964236fefe4746dbe264886

Head commit of repository brave-overlay: a3bcab427e062f332ea0106f93f2341008218bac

Timestamp of repository darkelf: Wed, 27 Dec 2023 21:02:16 +0000
Head commit of repository darkelf: 31b4654c00e9a6fcd35def8f6843d063f689e9f4

Timestamp of repository guru: Thu, 11 Jan 2024 18:05:13 +0000
Head commit of repository guru: 06b560b07a9f97f86681bc3a1f9d737677ccd5e5

Timestamp of repository inode64-overlay: Thu, 11 Jan 2024 18:05:16 +0000
Head commit of repository inode64-overlay: b8116653a86af43d1235a2afc0bf441812bc295e

Timestamp of repository kde: Thu, 11 Jan 2024 23:35:00 +0000
Head commit of repository kde: d7631f6d190f598c3da0277bc1b33fe4db1ad803

Timestamp of repository pentoo: Thu, 11 Jan 2024 18:05:08 +0000
Head commit of repository pentoo: 00ea8b75830a5cb579fbb6b901187743dffec778

Timestamp of repository torbrowser: Thu, 11 Jan 2024 18:05:10 +0000
Head commit of repository torbrowser: 2d352f99e45fd742cade696f2642909019320f13

sh bash 5.2_p21-r2
ld GNU ld (Gentoo 2.41 p4) 2.41.0
ccache version 4.9 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
dev-util/ccache:           4.9::gentoo
dev-util/cmake:            3.28.1-r1::gentoo
dev-util/meson:            1.3.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.2-r1::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20231215::gentoo, 13.2.1_p20231216::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r2::gentoo
sys-devel/lld:             15.0.7::gentoo, 17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gentoo.kopylovs.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes

EmilienMottet
    location: /var/db/repos/EmilienMottet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/EmilienMottet.git
    masters: gentoo
    volatile: False

HomeAssistantRepository
    location: /var/db/repos/HomeAssistantRepository
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/HomeAssistantRepository.git
    masters: gentoo
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

darkelf
    location: /var/db/repos/darkelf
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/darkelf.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

inode64-overlay
    location: /var/db/repos/inode64-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/inode64-overlay.git
    masters: gentoo
    volatile: False

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/kde.git
    masters: gentoo
    volatile: False

pentoo
    location: /var/db/repos/pentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pentoo.git
    masters: gentoo
    volatile: False

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome Intel-SDP microsoft-edge Microsoft-vscode OPERA-2018 PUEL-11 RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/sonar/conf /opt/zookeeper-bin/conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="X a52 aac accessibility acl acpi alsa amd64 audit bash-completion berkdb bidi bluetooth branding brotli btrfs bzip2 cairo cdda cdr cli colord crypt cryptsetup cups curl dbus designer device-mapper doc dri drm dts dvd dvdr eds emacs encode evdev evo examples exif experimental ffmpeg flac fortran fuse gamepad gdbm gif git gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnutls go gpg gpm gstreamer gtk gtk-doc gui hscolour html http iconv icu idn introspection iodbc ios ipv6 jack java jemalloc joystick jpeg json kde kerberos keyring lcms ldap libnotify libtirpc lm-sensors lua lvm lz4 lzma lzo mad man mbedtls mng mongodb mp3 mp4 mpeg mpi multilib multimedia mysql nas nautilus ncurses netlink network networkmanager nfs nls nptl nss odbc offensive ogg opencl opengl openmp openssl pam pango pcap pcre pdf perl pkcs11 plasma plugins png policykit postgres ppds pulseaudio python qml qt5 qt6 readline redis samba sasl screencast sdl seccomp semantic-desktop snmp sound source speech spell sqlite ssl startup-notification svg symlink sysprof systemd tcl telemetry test-rust threads tiff tk tools tpm tracker truetype udev udisks unicode upower usb utils v4l vaapi vala vim-syntax vnc vorbis vulkan wayland webengine webkit webp wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid yaml zeroconf zfs zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32 ruby33" VIDEO_CARDS="intel fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 11 Leonid Kopylov 2024-01-12 12:11:31 UTC
Created attachment 882099 [details]
build.log