Skip to content
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

dbgsym packages should build automatically #21

Closed
stsp opened this issue Jul 30, 2018 · 3 comments
Closed

dbgsym packages should build automatically #21

stsp opened this issue Jul 30, 2018 · 3 comments

Comments

@stsp
Copy link
Member

stsp commented Jul 30, 2018

But they are not!
So I added this patch: ac8b689
@skitt could you please help me? :)
Once again I don't understand why the
debug packages are not automatically built.
Same thing was with dosemu in the past,
but now for dosemu they are built automatically,
and I can't find the difference! :(

@stsp
Copy link
Member Author

stsp commented Jul 31, 2018

@fstirlitz maybe you know what's going
on here? I wasn't able to get the debuginfo
by default from dosemu2 too, before your
patch. But I can't find any magic in it. And
the same thing happens here: no debug
info unless the -dbg package is explicitly
built. That's crazy.

@fstirlitz
Copy link

diff --git i/fdpp/clang.mak w/fdpp/clang.mak
index c4f86aa..c606d16 100644
--- i/fdpp/clang.mak
+++ w/fdpp/clang.mak
@@ -26,7 +26,7 @@ ALLCFLAGS += -ggdb3 -O2
 endif
 
 CFLAGS=$(ALLCFLAGS)
-LDFLAGS=-shared -Wl,-Bsymbolic
+LDFLAGS=-shared -Wl,-Bsymbolic -Wl,--build-id=sha1
 CLC = clang
 
 ALLCFLAGS:=$(ALLCFLAGS) -DI386

GCC sets this option by default.

@stsp stsp closed this as completed in d1d4051 Aug 2, 2018
@stsp
Copy link
Member Author

stsp commented Aug 2, 2018

Thanks!!!
You are mega cool! :)
I would probably have figured this
out myself not very soon.

stsp added a commit that referenced this issue Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants