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

putc & fputc cause a runtime crash #113

Open
GoogleCodeExporter opened this issue Oct 25, 2015 · 2 comments
Open

putc & fputc cause a runtime crash #113

GoogleCodeExporter opened this issue Oct 25, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. call putc or fputc in a C program
2. compile & run program
3.

What is the expected output? What do you see instead?
The program will compile but produces the following error at runtime:
CANNOT LINK EXECUTABLE: ./x invalid R_ARM_COPY relocation against DT_SYMBOLIC 
shared library libc.so (built with -Bsymbolic?)

What version of the product are you using? On what operating system?
Android 4.3 on Asus Transformer TF701T
terminal-ide 2.02

Please provide any additional information below.
Interestingly getc and fgetc work fine.

Original issue reported on code.google.com by [email protected] on 28 Jun 2014 at 4:57

@GoogleCodeExporter
Copy link
Contributor Author

getopt() & getopt_long() are also non-functional.  The external variable 
'optind' fails to link as well as the functions themselves.  Error is at 
runtime as described above for putc() and fputc().

So far, no code that I have tried to port over works on the Android due to 
these linkage issues.

Original comment by [email protected] on 29 Jun 2014 at 6:24

@GoogleCodeExporter
Copy link
Contributor Author

This *may* be a duplicate of 101.

Original comment by [email protected] on 29 Jun 2014 at 12:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant