Comments (10)
Oh yes, just add int flags
, I forgot about that. I have a PR I need to create which fixes the build on OSX.
from orbuculum.
from orbuculum.
As posted on gitter, on OpenSuse <demangle.h> is the right include:
locate demangle.h
...
/usr/include/demangle.h
rpm -qf /usr/include/demangle.h
binutils-devel-2.31-lp150.5.3.1.x86_64
from orbuculum.
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.
from orbuculum.
Hello,
I tried to compile binutils and other libs that should have libiberty but it doesn't seem to work.
to resume at the moment there's no known fix.
One way would be to compile gcc-7 from scratch,but i didn't complete the compilation at the moment.
from orbuculum.
Would the LLVM version work?
https://llvm.org/doxygen/Demangle_8h_source.html
from orbuculum.
I have this working in OSX by using binutils from homebrew, building from source and editing the recipe to include --enable-install-libiberty
to the configure options. I then added the homebrew install paths to LDFLAGS and INCLUDE_PATHS in the Makefile.
The last bit, elf.h, I succeeded by changing #include <elf.h>
to #include "elf.h"
and putting the elf.h from the arm-none-eabi toolchain into the Orbuculum Src directory.
from orbuculum.
Thanks @akohlsmith that has helped.
i get the following error
Src/orbuculum.c:1567:16: error: use of undeclared identifier 'flags'
if ( ( flags = fcntl( f, F_GETFL, NULL ) ) < 0 )
and i can still only build orbuculum on macOS if I comment out the section (1555).
// #ifdef OSX
// /* Remove the O_NONBLOCK flag now the port is open (OSX Only) */
// if ( ( flags = fcntl( f, F_GETFL, NULL ) ) < 0 )
// {
// genericsExit( -3, "F_GETFL failed" EOL );
// }
// flags &= ~O_NONBLOCK;
// if ( ( flags = fcntl( f, F_SETFL, flags ) ) < 0 )
// {
// genericsExit( -3, "F_SETFL failed" EOL );
// }
// #endif
orbit still won't build as it complains about missing demangle.h which still doesn't appear to have been installed.
from orbuculum.
@akohlsmith Andrew, do you have an patch for this so we can close it off?
from orbuculum.
As at 9f6a8e9 OSX building is folded back into main. Thanks a million for this @akohlsmith
from orbuculum.
Related Issues (20)
- Install more files on Linux HOT 1
- Extraneous arguments in meson.build file HOT 3
- Inconsistent results from orbfifo when reading from file and writing to permanent file HOT 3
- Arch linux builds need a meson prefix HOT 3
- Cannot set server and port in orbfifo HOT 2
- Do not require trailing slash in orbfifo basedir HOT 2
- Cannot abort orbfifo with Ctrl + C when not yet connected HOT 6
- First contribution HOT 1
- gdbtrace.init does not seem to work with newer version of arm-none-eabi-gdb HOT 7
- Windows CLI output has corrupted characters HOT 2
- orbtop CPU usage increases over time
- Orbmortem save to file not working HOT 2
- 'ARM_INS_ERET' not in /usr/include/capstone/arm.h HOT 2
- orbtop should provide immediate error about missing objdump HOT 2
- orbtop: Exception number format, 0..N vs -16..N HOT 5
- orbtop exception tick count wrong for nested instructions HOT 1
- Weird help message for the orbtrace -T option HOT 1
- Loosely formatted orbcat output specification doesn't result in output HOT 1
- Package binaries along with releases HOT 1
- Orbuculum fails to connect to J-LINK GDB Server on Windows. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbuculum.