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

/usr/bin/ld.bfd.real: warning: cannot find entry symbol _start; defaulting to 0000000000000660 #2

Open
adrelanos opened this issue Jan 10, 2017 · 3 comments

Comments

@adrelanos
Copy link
Collaborator

gcc -nostartfiles -fpic -shared bindp.c -o libindp.so -ldl -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fPIE -pie -Wl,-z,relro -Wl,-z,now
/usr/bin/ld.bfd.real: warning: cannot find entry symbol _start; defaulting to 0000000000000660
@marmarek
Copy link

Missing -shared option?

@adrelanos
Copy link
Collaborator Author

Not missing far as I can see.

 gcc -nostartfiles -fpic -shared ...

@marmarek
Copy link

Ah, indeed. So, no idea, yet.

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