-
Notifications
You must be signed in to change notification settings - Fork 32
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
Cannot compile on Arch #6
Comments
I've pushed 70f4179 that appends CFLAGS instead of rewriting. Could you please verify that it compiles on your system? You can do it by running |
Hi @denofevil ,
/home/rzeznik/git/debase
rzeznik $: rake test
cd ext
cd -
creating Makefile
compiling breakpoint.c
compiling context.c
compiling debase_internals.c
compiling locker.c
linking shared-object debase_internals.so
/usr/bin/ruby -I"lib:./ext:./lib" -I"/usr/lib/ruby/2.0.0" "/usr/lib/ruby/2.0.0/rake/rake_test_loader.rb" "test/test_base.rb" "test/test_breakpoints.rb" "test/test_catchpoint.rb" "test/test_load.rb" "test/test_reload_bug.rb"
Thanks |
@denofevil : Should I close this issue? From my POV it is completely solved. |
I want to push updated version to rubygems, I'll better leave this one open until that as a reminder |
Good idea :-) Thanks. |
Unfortunately, debase fails to build for me (also on Arch). Compilation succeeds, but the tests fail.
I tried installing v0.0.4 via rubygems, but it has the same issue after fixing the CFLAGS problem. Any suggestions? |
Tests are broken for quite a while, but compilation is ok now |
... or, in general, on any systems where FORTIFY_SOURCE is in use. CPPFLAGS in resulting makefile is
. I assume that this gets pulled in by default by mkmf because of how ruby was built on particular system. extconf.rb "destroys" CFLAGS by setting it unconditionally to -Wall -Werror (default setting on my system is:
)
This is unfortunate course of events as:
I believe that resetting CFLAGS is wrong thing to do, probably CFLAGS should've been appended to instead.
The text was updated successfully, but these errors were encountered: