Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 389040 Details for
Bug 499450
media-libs/libsndfile-1.0.25-r1 fails with ld.gold - ../src/.libs/libsndfile.so: error: undefined reference to 'vorbis_synthesis_read'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
select ld.bfd or fail early to keep away failures
patch3 (text/plain), 1.25 KB, created by
Ian Stakenvicius (RETIRED)
on 2014-11-10 18:47:10 UTC
(
hide
)
Description:
select ld.bfd or fail early to keep away failures
Filename:
MIME Type:
Creator:
Ian Stakenvicius (RETIRED)
Created:
2014-11-10 18:47:10 UTC
Size:
1.25 KB
patch
obsolete
>Index: libsndfile-1.0.25-r1.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.25-r1.ebuild,v >retrieving revision 1.15 >diff -u -B -r1.15 libsndfile-1.0.25-r1.ebuild >--- libsndfile-1.0.25-r1.ebuild 13 Aug 2014 09:34:59 -0000 1.15 >+++ libsndfile-1.0.25-r1.ebuild 10 Nov 2014 18:36:13 -0000 >@@ -38,6 +38,19 @@ > > S=${WORKDIR}/${MY_P} > >+pkg_pretend() { >+ if [[ ${MERGE_TYPE} != binary ]]; then >+ # Bug 499450 >+ if ! test-flags-CC -fuse-ld=bfd &>/dev/null && >+ $(tc-getLD) --version | grep -q "GNU gold"; then >+ eerror "${CATEGORY}/${PN} does not link with ld.gold, and toolchain doesn't support -fuse-ld." >+ eerror "Please select the bfd linker with binutils-config." >+ die "GNU gold detected" >+ fi >+ fi >+} >+ >+ > src_prepare() { > # fix adding largefile flags on amd64 multilib > # https://github.com/erikd/libsndfile/commit/d464da7dba4d5 >@@ -55,6 +68,9 @@ > } > > src_configure() { >+ # Bug 499450 >+ append-ldflags $(test-flags-CC -fuse-ld=bfd) >+ > my_configure() { > local myeconfargs=( > --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 499450
:
368872
| 389040