-
Notifications
You must be signed in to change notification settings - Fork 11
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
Circular dependencies if adding libunwind as dependency #8
Conversation
regarding #4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Reviewed-by: Stefan Jumarea [email protected]
2bcc56e
to
ce4bd23
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment. I tested it and with the Config.uk
contents below, it works:
menuconfig LIBCOMPILER_RT
bool "compiler-rt - runtime support"
select LIBPOSIX_SYSINFO
select LIBUKMMAP
depends on LIBUNWIND
default n
if LIBCOMPILER_RT
config LIBCOMPILER_RT_ATOMIC
bool "Implementation of an atomics library"
select CXX_THREADS
default N
endif
I user app-helloworld-cpp
to test.
1bd5bf3
to
e613b45
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DeliaPavel , together with @StefanJum we did a thorough analysis of the dependencies. This should be fixed. lib-compiler-rt
depends on lib-libunwind
. select LIBUNWIND
should be part of this. And select COMPILER_RT
needs to be removed from the Config.uk
file for lib-libunwind
.
The |
Signed-off-by: Delia-Maria Pavel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @DeliaPavel .
Reviewed-by: Razvan Deaconescu [email protected]
Approved-by: Razvan Deaconescu [email protected]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Sergiu Moga [email protected]
libunwind already specifies compiler-rt as a dependency in its Config.uk. If we would add libunwind as a dependency in compiler-rt's Config.uk we would receive an error because there would be a circular dependency.
Signed-off-by: Delia-Maria Pavel [email protected]