Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818757 - app-emulation/fs-uae-3.1.35 - src/dlopen.cpp: In function 'void* uae_dlopen(const TCHAR*)': src/dlopen.cpp:26:42: error: 'RTLD_DEEPBIND' was not declared in this scope
Summary: app-emulation/fs-uae-3.1.35 - src/dlopen.cpp: In function 'void* uae_dlopen(c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-10-17 23:12 UTC by ernsteiswuerfel
Modified: 2021-10-18 18:54 UTC (History)
1 user (show)

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


Attachments
build.log (fs-uae-3.1.35:20211017-151122.log,95.37 KB, text/plain)
2021-10-17 23:12 UTC, ernsteiswuerfel
Details
emerge --info (file_818757.txt,6.78 KB, text/plain)
2021-10-17 23:13 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-10-17 23:12:55 UTC
Created attachment 745626 [details]
build.log

3.0.5 built fine on musl but fs-uae-3.1.35 fails due to this error:

[...]
/usr/include/libpng16 -I/usr/include/SDL2 -D_REENTRANT    -fno-strict-overflow -fno-strict-aliasing -Wmissing-declarations -Waddress -fvisibility=hidden  -O2 -ftree-vectorize -ftree-loop-distribution -floop-interchange -flto=2 -fno-semantic-interposition -fdevirtualize-at-ltrans -march=x86-64 -msse3 -mtune=k8 -pipe -c -o src/diskutil.o src/diskutil.cpp
x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I.  -DLINUX -DUAE -DFSUAE -fno-pie -fno-PIE  -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include  -I./manymouse -I./glad/include     -I./prowizard/include -I./softfloat   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread  -DLUA_USE_POSIX -I/usr/include/AL   -I/usr/include/libpng16 -I/usr/include/SDL2 -D_REENTRANT    -fno-strict-overflow -fno-strict-aliasing -Wmissing-declarations -Waddress -fvisibility=hidden  -O2 -ftree-vectorize -ftree-loop-distribution -floop-interchange -flto=2 -fno-semantic-interposition -fdevirtualize-at-ltrans -march=x86-64 -msse3 -mtune=k8 -pipe -c -o src/dlopen.o src/dlopen.cpp
src/dlopen.cpp: In function 'void* uae_dlopen(const TCHAR*)':
src/dlopen.cpp:26:42: error: 'RTLD_DEEPBIND' was not declared in this scope
   26 |         result = dlopen(path, RTLD_NOW | RTLD_DEEPBIND);
      |                                          ^~~~~~~~~~~~~
make[2]: *** [Makefile:4548: src/dlopen.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-emulation/fs-uae-3.1.35/work/fs-uae-3.1.35'
make[1]: *** [Makefile:4586: all-recursive] Error 1
Comment 1 ernsteiswuerfel archtester 2021-10-17 23:13:24 UTC
Created attachment 745629 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-10-18 16:31:51 UTC
The bug has been closed via the following commit(s):

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

commit 1a3cdc7e4e06d62b30c081c0e5c655414cb5a414
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2021-10-18 16:31:37 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2021-10-18 16:31:37 +0000

    app-emulation/fs-uae: Fix 3.1.35 build on musl
    
    Closes: https://bugs.gentoo.org/818757
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../fs-uae/files/fs-uae-3.1.35-deepbind.patch      | 43 ++++++++++++++++++++++
 app-emulation/fs-uae/fs-uae-3.1.35.ebuild          |  1 +
 2 files changed, 44 insertions(+)
Comment 3 ernsteiswuerfel archtester 2021-10-18 18:54:48 UTC
(In reply to Larry the Git Cow from comment #2)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=1a3cdc7e4e06d62b30c081c0e5c655414cb5a414
Builds fine now. Thanks!