missing ifdef around .thumb directive

Bug #839731 reported by dann frazier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.