Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715450 - app-cdr/dumpet-2.1_p20140601-r1 : applepart.c:(.text+<snip>): undefined reference to _bswap_32
Summary: app-cdr/dumpet-2.1_p20140601-r1 : applepart.c:(.text+<snip>): undefined refer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 14:56 UTC by Toralf Förster
Modified: 2020-03-30 15:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.04 KB, text/plain)
2020-03-30 14:56 UTC, Toralf Förster
Details
app-cdr:dumpet-2.1_p20140601-r1:20200330-124616.log (app-cdr:dumpet-2.1_p20140601-r1:20200330-124616.log,8.93 KB, text/plain)
2020-03-30 14:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.83 KB, text/plain)
2020-03-30 14:56 UTC, Toralf Förster
Details
environment (environment,47.44 KB, text/plain)
2020-03-30 14:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.43 KB, application/x-bzip)
2020-03-30 14:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.43 KB, application/x-bzip)
2020-03-30 14:56 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 2020-03-30 14:56:07 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -o dumpet dumpet.o applepart.o  -lpopt -lpopt -lxml2 
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: applepart.o: in function pblock_in_use:
applepart.c:(.text+0x33): undefined reference to __bswap_32
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: applepart.c:(.text+0x40): undefined reference to __bswap_32
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: applepart.c:(.text+0x64): undefined reference to __bswap_32
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: applepart.c:(.text+0x73): undefined reference to __bswap_32

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200328-141627

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 11:40:23 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO app-cdr/dumpet
[ebuild  N    ] app-cdr/dumpet-2.1_p20140601-r1  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 14:56:10 UTC
Created attachment 627330 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 14:56:13 UTC
Created attachment 627332 [details]
app-cdr:dumpet-2.1_p20140601-r1:20200330-124616.log
Comment 3 Toralf Förster gentoo-dev 2020-03-30 14:56:15 UTC
Created attachment 627334 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-30 14:56:18 UTC
Created attachment 627336 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-30 14:56:21 UTC
Created attachment 627338 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-30 14:56:24 UTC
Created attachment 627340 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-30 15:30:05 UTC
The bug has been closed via the following commit(s):

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

commit d4cca385687aaeedfb00e5684d08d9da0d3f4fc4
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-03-30 15:28:56 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-03-30 15:29:49 +0000

    app-cdr/dumpet: add musl fix
    
    Closes: https://bugs.gentoo.org/715450
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 app-cdr/dumpet/dumpet-2.1_p20140601-r2.ebuild | 44 +++++++++++++++++++++++++++
 app-cdr/dumpet/files/musl-byteswap-fix.patch  | 11 +++++++
 2 files changed, 55 insertions(+)