Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 861089 Details for
Bug 740464
dev-libs/apr-1.7.0-r1 fails tests - ld: ../.libs/libapr-1.so: undefined reference to `__sync_val_compare_and_swap_8'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Explicitly link to atomic "as needed"
Explicitly-link-to-atomic.patch (text/plain), 1.00 KB, created by
account.disabled.ieghaezaeVaxaixae4go
on 2023-05-03 15:28:27 UTC
(
hide
)
Description:
Explicitly link to atomic "as needed"
Filename:
MIME Type:
Creator:
account.disabled.ieghaezaeVaxaixae4go
Created:
2023-05-03 15:28:27 UTC
Size:
1.00 KB
patch
obsolete
>From: Gordon Bos <gordon@bosvangennip.nl> >Date: Wed, 3 May 2022 16:07:46 +0200 >Subject: dev-libs/apr-1.7.2 fails to link to libatomic on 32 bit architecture > >On 32 bit architecture the atomic library is not automatically linked with >recent versions of GCC. This patch instructs the configure script to >explicitely include atomic "as-needed" when linking. > >--- a/configure.in >+++ b/configure.in >@@ -293,7 +293,7 @@ > if test "x$use_libtool" = "xyes"; then > lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile --tag=CC $(COMPILE) -o $@ -c $< && touch $@' > LT_VERSION="-version-info `$get_version libtool $version_hdr APR`" >- link="\$(LIBTOOL) \$(LTFLAGS) --mode=link --tag=CC \$(COMPILE) \$(LT_LDFLAGS) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@" >+ link="\$(LIBTOOL) \$(LTFLAGS) --mode=link --tag=CC \$(COMPILE) \$(LT_LDFLAGS) \$(LT_VERSION) \$(ALL_LDFLAGS) -Wl,--as-needed -latomic -o \$@" > so_ext='lo' > lib_target='-rpath $(libdir) $(OBJECTS)' > export_lib_target='-rpath \$(libdir) \$(OBJECTS)' >
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 740464
:
658524
|
658526
| 861089