| Anonymous | Login | Signup for a new account | 11-10-2008 10:49 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000435 | [uClibc] Architecture Specific | minor | always | 09-17-05 00:53 | 10-02-05 23:19 | ||||
| Reporter | Charles | View Status | public | ||||||
| Assigned To | uClibc | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 0.9.28 | ||||||
| Summary | 0000435: Linker's Complain about Missing _init and _fini in crt1.o for arm Architecture | ||||||||
| Description |
When building uClibc for arm architecture with a configuration of # UCLIBC_CTOR_DTOR is not set the resulting crt1.o will have _init and _fini undefined, and this causes the linker (of GCC 3.4.4) to stop with an error of missing _init and _fini when building applications. The output of 'nm crt1.o' is 00000000 D __data_start 00000000 W data_start U _fini U _init U main 00000000 T _start U __uClibc_main Please confirm this issue and have it fixed. |
||||||||
| Additional Information |
When building uClibc for i386 architecture with the same configuration, the output of 'nm crt1.o' becomes 00000000 D __data_start 00000000 W data_start w _fini w _init U main 00000000 T _start U __uClibc_main It seems that libc/sysdeps/linux/i386/crt1.S handles this cleverly by making both _init and _fini weak symbols. It is suggested that libc/sysdeps/linux/arm/crt1.S does the same thing to prevent the linker from complaining. |
||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |