-
Notifications
You must be signed in to change notification settings - Fork 72
Missing Libiberty on Mac OS X #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi there,
In general you'll often find this library bundled with binutils-dev...so
please have a look there and report back. I'd be surprised if it isn't
available _somewhere_ inside gcc7. I'll check to see if it's replaceable
but iirc we use the demangler from it which is, I'm afraid, a pretty
fundamental part of orbtop.
I'll also check how others have got it compiling on osx. Back in the day
that's how the suite first came into being, so it should be possible.
Regards
Dave
…On Mon, 5 Aug 2019, 17:02 Mohammed-Ismail Ben Salah, < ***@***.***> wrote:
I would like to know if there's any alternative to libiberty on Mac OS X
as i'm unable to compile orbuculum since clang and macport gcc-7 don't have
the libiberty library.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23?email_source=notifications&email_token=ABJTBDZAZEVFTMN6NO2W55LQDBFKFA5CNFSM4IJMWKEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDNRCXQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABJTBD6A2ALZZLFEUGKWNQTQDBFKFANCNFSM4IJMWKEA>
.
|
As posted on gitter, on OpenSuse <demangle.h> is the right include:
|
OK, thanks Uwe. Fix pushed for the OpenSuse case...perhaps that also fixes the issue for OSX. Waiting for feedback but will close this in a week if I don't hear further. |
Hello, |
Would the LLVM version work? |
I have this working in OSX by using binutils from homebrew, building from source and editing the recipe to include The last bit, elf.h, I succeeded by changing |
Thanks @akohlsmith that has helped. i get the following error Src/orbuculum.c:1567:16: error: use of undeclared identifier 'flags' and i can still only build orbuculum on macOS if I comment out the section (1555).
orbit still won't build as it complains about missing demangle.h which still doesn't appear to have been installed. |
Oh yes, just add |
@akohlsmith Andrew, do you have an patch for this so we can close it off? |
As at 9f6a8e9 OSX building is folded back into main. Thanks a million for this @akohlsmith |
I would like to know if there's any alternative to libiberty on Mac OS X as i'm unable to compile orbuculum since clang and macport gcc-7 don't have the libiberty library.
The text was updated successfully, but these errors were encountered: