[Bug 839731] [NEW] missing ifdef around .thumb directive

dann frazier dann.frazier at canonical.com
Fri Sep 2 16:56:29 UTC 2011


Public bug reported:

When building the eglibc package w/ a toolchain that has thumb support
disabled, I hit a FTBFS issue in
./ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S due to an
unguarded .thumb directive.

Following the lead of other files that specify .thumb, I added an ifdef
around this:

#if defined(__thumb__)
        .thumb
        .syntax unified
#endif
        .hidden __libc_do_syscall

With that change, I was able to build/use eglibc. Obviously not a
problem for any existing ubuntu binaries, but I would like to see a fix
for this go upstream and into our source.

** Affects: eglibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/839731

Title:
  missing ifdef around .thumb directive

Status in “eglibc” package in Ubuntu:
  New

Bug description:
  When building the eglibc package w/ a toolchain that has thumb support
  disabled, I hit a FTBFS issue in
  ./ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S due to an
  unguarded .thumb directive.

  Following the lead of other files that specify .thumb, I added an
  ifdef around this:

  #if defined(__thumb__)
          .thumb
          .syntax unified
  #endif
          .hidden __libc_do_syscall

  With that change, I was able to build/use eglibc. Obviously not a
  problem for any existing ubuntu binaries, but I would like to see a
  fix for this go upstream and into our source.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/839731/+subscriptions




More information about the foundations-bugs mailing list