Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807667 - dev-libs/dietlibc-0.34_pre20140729-r1 - make: *** [Makefile:<snip>: bin-x86_64/elftrunc]<snip> Segmentation fault
Summary: dev-libs/dietlibc-0.34_pre20140729-r1 - make: *** [Makefile:<snip>: bin-x86_6...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-08-11 07:17 UTC by Toralf Förster
Modified: 2022-05-14 03:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.59 KB, text/plain)
2021-08-11 07:17 UTC, Toralf Förster
Details
dev-libs:dietlibc-0.34_pre20140729-r1:20210811-041416.log (dev-libs:dietlibc-0.34_pre20140729-r1:20210811-041416.log,440.62 KB, text/plain)
2021-08-11 07:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,84.02 KB, text/plain)
2021-08-11 07:17 UTC, Toralf Förster
Details
environment (environment,92.75 KB, text/plain)
2021-08-11 07:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,18.50 KB, application/x-bzip)
2021-08-11 07:18 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,39.85 KB, application/x-bzip)
2021-08-11 07:18 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-11 07:17:53 UTC
: -R .comment -R .note bin-x86_64/diet-i
bin-x86_64/diet x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -nostdinc -W -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -fno-strict-aliasing -fno-stack-protector -no-pie -Wa,--noexecstack -o bin-x86_64/elftrunc contrib/elftrunc.c
make: *** [Makefile:313: bin-x86_64/elftrunc] Segmentation fault
 * ERROR: dev-libs/dietlibc-0.34_pre20140729-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/dietlibc-0.34_pre20140729-r1::gentoo'`,

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j3_stable-20210810-092808

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

  [1]   php7.4 *

  HEAD of ::gentoo
commit 1a083cf5e50a82288e2df9e53c4f2739a7075531
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 11 03:07:02 2021 +0000

    2021-08-11 03:07:01 UTC

emerge -qpvO dev-libs/dietlibc
[ebuild  N    ] dev-libs/dietlibc-0.34_pre20140729-r1
Comment 1 Toralf Förster gentoo-dev 2021-08-11 07:17:54 UTC
Created attachment 732157 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-11 07:17:56 UTC
Created attachment 732160 [details]
dev-libs:dietlibc-0.34_pre20140729-r1:20210811-041416.log
Comment 3 Toralf Förster gentoo-dev 2021-08-11 07:17:57 UTC
Created attachment 732163 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-11 07:17:59 UTC
Created attachment 732166 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-11 07:18:00 UTC
Created attachment 732169 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-11 07:18:01 UTC
Created attachment 732172 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-05-14 03:00:45 UTC
The bug has been referenced in the following commit(s):

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

commit f707e48b956f834b3beee2cc82435fdb669336e4
Author:     matoro <matoro@users.noreply.github.com>
AuthorDate: 2022-05-03 03:17:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-14 02:57:11 +0000

    dev-libs/dietlibc: fix elftrunc segfault during build
    
    Closes: https://bugs.gentoo.org/676704
    Bug: https://bugs.gentoo.org/807667
    Signed-off-by: matoro <matoro@users.noreply.github.com>
    Closes: https://github.com/gentoo/gentoo/pull/25293
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/dietlibc/dietlibc-0.34.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)