Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920276 - dev-libs/dmalloc-5.6.5-r1 - ld: libdmalloc.a(append.o): relocation R_X86_64_PC32 against undefined symbol stdout can not be used when making a shared
Summary: dev-libs/dmalloc-5.6.5-r1 - ld: libdmalloc.a(append.o): relocation R_X86_64_P...
Status: RESOLVED DUPLICATE of bug 920272
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:
Depends on:
Blocks:
 
Reported: 2023-12-18 16:03 UTC by Toralf Förster
Modified: 2023-12-18 16:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.42 KB, text/plain)
2023-12-18 16:03 UTC, Toralf Förster
Details
dev-libs:dmalloc-5.6.5-r1:20231218-152519.log (dev-libs:dmalloc-5.6.5-r1:20231218-152519.log,17.93 KB, text/plain)
2023-12-18 16:03 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,58.84 KB, application/x-xz)
2023-12-18 16:03 UTC, Toralf Förster
Details
environment (environment,74.11 KB, text/plain)
2023-12-18 16:04 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-18 16:04 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.36 KB, application/x-xz)
2023-12-18 16:04 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.41 KB, application/x-xz)
2023-12-18 16:04 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,67.97 KB, application/x-xz)
2023-12-18 16:04 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.86 KB, application/x-xz)
2023-12-18 16:04 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 2023-12-18 16:03:56 UTC
mv aout dmalloc
rm -f libdmalloc.so.5.6.5 libdmalloc.so.5.6.5.t
ld -shared --whole-archive -soname libdmalloc.so.5 -o libdmalloc.so.5.6.5.t libdmalloc.a
rm -f libdmallocxx.so.5.6.5 libdmallocxx.so.5.6.5.t
ld -shared --whole-archive -soname libdmallocxx.so.5 -o libdmallocxx.so.5.6.5.t libdmallocxx.a
ld: libdmalloc.a(user_malloc.o): warning: relocation against `_dmalloc_lock_on' in read-only section `.text'
ld: libdmalloc.a(append.o): relocation R_X86_64_PC32 against undefined symbol `stdout' can not be used when making a shared object; recompile with -fPIC
ld: final link failed: bad value
make: *** [Makefile:302: libdmalloc.so.5.6.5] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20231213-093115

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
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:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.8.1_p1 [openjdk-jre-bin-17]
2)	Eclipse Temurin JRE 21.0.1_p12 [openjdk-jre-bin-21]
3)	Eclipse Temurin JRE 8.382_p05 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8 
  [2]   openjdk-jre-bin-17  system-vm
  [3]   openjdk-jre-bin-21 

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

  HEAD of ::gentoo
commit 9126cbaea5b6df0b36981989e9b0f3fb1fa284ec
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 18 14:01:54 2023 +0000

    Merge updates from master

emerge -qpvO dev-libs/dmalloc
[ebuild  N    ] dev-libs/dmalloc-5.6.5-r1  USE="-threads"
Comment 1 Toralf Förster gentoo-dev 2023-12-18 16:03:57 UTC
Created attachment 879866 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-18 16:03:58 UTC
Created attachment 879867 [details]
dev-libs:dmalloc-5.6.5-r1:20231218-152519.log
Comment 3 Toralf Förster gentoo-dev 2023-12-18 16:03:59 UTC
Created attachment 879868 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-18 16:04:00 UTC
Created attachment 879869 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-18 16:04:01 UTC
Created attachment 879870 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-18 16:04:02 UTC
Created attachment 879871 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-18 16:04:03 UTC
Created attachment 879872 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-18 16:04:04 UTC
Created attachment 879873 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-18 16:04:05 UTC
Created attachment 879874 [details]
temp.tar.xz
Comment 10 Alfred Wingate 2023-12-18 16:07:20 UTC

*** This bug has been marked as a duplicate of bug 920272 ***