Launchpad has imported 2 comments from the remote bug at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50313.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2011-09-07T03:56:48+00:00 Michael Hope wrote: Created attachment 25211 Preprocessed source Building gmime with GCC 4.6.1 for ARM gives the following error: michaelh@ursa1:~/linaro/bugs$ gcc -c -O2 -fPIC -save-temps gmime2.i gmime2.s: Assembler messages: gmime2.s:1007: Error: can't resolve `.rodata' {.rodata section} - `.LPIC18' {*UND* section} The assembler is correct - the code references a label which doesn't exist. The suspicious code is around: bl g_hash_table_new(PLT) mov sl, r0 add r0, sp, #32 bl g_mime_decode_lwsp(PLT) ldr r3, .L146+24 ldr r1, [sp, #4] str r3, [sp, #16] ldr r3, [sp, #32] ... .L146: ... .word .LANCHOR0-(.LPIC18+4) The 'ldr r3, .L146+24' references the offset. The value is spilt to the stack before the normal `add r3, pc` and doesn't seem to be used afterwards. The work-around is to compile at -O1 or -O3. The fault also exists in gcc-4.6.1. It does not exist in gcc-4.5.3 or trunk r178025. This is in a Cortex-A9+NEON+Thumb-2 configuration. Reply at: https://bugs.launchpad.net/gcc/+bug/836588/comments/4 ------------------------------------------------------------------------ On 2011-09-07T05:55:26+00:00 Mikpe wrote: I suspect this is a dupe of PR48308. Reply at: https://bugs.launchpad.net/gcc/+bug/836588/comments/5 ** Changed in: gcc Status: Unknown => New ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/836588 Title: armel FTBFS with gcc 4.5 org 4.6 O2 and fPIC To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/836588/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs