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

gcc - ld: unrecognised emulation mode: -dynamic-linker #3

Closed
robertvalik opened this issue Aug 3, 2015 · 5 comments
Closed

gcc - ld: unrecognised emulation mode: -dynamic-linker #3

robertvalik opened this issue Aug 3, 2015 · 5 comments
Assignees

Comments

@robertvalik
Copy link
Contributor

Hello, I tried to compile simple hello world in c, but gcc failed with this:

$ gcc -Wall hello.c -o hello
/data/data/com.termux/files/usr/bin/ld: unrecognised emulation mode: -dynamic-linker
Supported emulations: elf_i386 i386linux elf32_x86_64
collect2: error: ld returned 1 exit status

Can you, please, help me with working around this?

Thanks.

@fornwall
Copy link
Member

fornwall commented Aug 4, 2015

It seems to be a problem with the x86 gcc package (the x86 packages are not tested as much as the arm ones). I've posted the error and asked for help at:

Let's hope that someone can give a pointer in one of the above threads!

@fornwall fornwall self-assigned this Aug 4, 2015
@matthewturk
Copy link

I didn't see this when I opened #14 where I have a specs file that works for me. I still have a few issues, particularly with numpy (which reports dlopen failed: unknown reloc type 35 @ 0xf708f344 (2890) ) but otherwise seems to work.

@fornwall
Copy link
Member

Thanks a lot - I'm closing this issue in favor of #14 which has a working spec file. Will try it out and hopefully update the gcc package with it shortly!

@fornwall
Copy link
Member

@robertvalik Just a heads up - this issue (gcc compiling on intel cpu:s did not work) should now be fixed in the latest gcc package version, available with apt update && apt upgrade.

@robertvalik
Copy link
Contributor Author

It is working. Thank you!

fornwall pushed a commit that referenced this issue Feb 25, 2017
* util-linux: update from 2.29.1 to 2.29.2

* parallel: update from 20170122 to 20170222

* mutt: update from 1.7.2 to 1.8.0
Grimler91 referenced this issue in Grimler91/termux-packages Mar 2, 2017
texlive: fixed mistake in texlive.sh
its-pointless referenced this issue in its-pointless/termux-packages May 7, 2017
* util-linux: update from 2.29.1 to 2.29.2

* parallel: update from 20170122 to 20170222

* mutt: update from 1.7.2 to 1.8.0
@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
flosnvjx pushed a commit to flosnvjx/termux-packages that referenced this issue Oct 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants