angelbirth / terminal-ide

Automatically exported from code.google.com/p/terminal-ide
0 stars 0 forks source link

putc & fputc cause a runtime crash #113

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 maukto...@gmail.com on 28 Jun 2014 at 4:57

GoogleCodeExporter commented 8 years ago
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 maukto...@gmail.com on 29 Jun 2014 at 6:24

GoogleCodeExporter commented 8 years ago
This *may* be a duplicate of 101.

Original comment by maukto...@gmail.com on 29 Jun 2014 at 12:36