This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/18397] New: mips16 __fpu_control handling broken for static linking


https://sourceware.org/bugzilla/show_bug.cgi?id=18397

            Bug ID: 18397
           Summary: mips16 __fpu_control handling broken for static
                    linking
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---
              Host: mips*-*-*

Programs are supposed to be able to define the __fpu_control variable,
overriding the library's version to cause the floating-point control word to be
set to the chosen value at startup.

This is broken for mips16 for static linking because the library's
__fpu_control variable is in the same object file as the helper functions used
by fpu_control.h for mips16, so test-fpucw-ieee-static fails to link with
multiple definitions of __fpu_control.

Testing a patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]