Opened 14 years ago

Last modified 13 years ago

#241 closed defect

libc build failure — at Initial Version

Reported by: abwillis Owned by: bird
Priority: normal Milestone: libc-0.6.5
Component: libc Version: 0.6
Severity: normal Keywords:
Cc:

Description

With newer binutils fnstsw changes from using %ax to %eax: src/msun/i387/fenv.c int _STD(feupdateenv)(const fenv_t *envp) {

  • int mxcsr, status;

+ int mxcsr; + uint16_t status;

fnstsw(&status); if (HAS_SSE())

stmxcsr(&mxcsr);

else

mxcsr = 0;

fesetenv(envp); feraiseexcept((mxcsr | status) & FE_ALL_EXCEPT); return (0);

}

A define may need to be created to determine which binutils is used.

Change History (0)

Note: See TracTickets for help on using tickets.