Opened 11 years ago

Closed 11 years ago

#2564 closed bug (fixed)

signbit macro uses __signbitf function although not compiled in?

Reported by: andreasf Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking: #2696
Has a Patch: no Platform: All

Description

The public header posix/math.h defines a signbit macro to call functions __signbitf et al. However these cannot be resolved at runtime.

The implementation for this function seems to be in libroot/posix/glibc/arch/generic/s_signbitf.c but that directory does not seem to be compiled in - there's no ./Jamfile, and ../Jamfile only includes the specific architecture.

Mono's configure for instance detects signbit but later fails to link. (It can work without, but gets confused by the current situation.)

Change History (2)

comment:1 by andreasf, 11 years ago

Blocking: 2696 added

comment:2 by korli, 11 years ago

Resolution: fixed
Status: newclosed

Added s_signbitf.c for x86 in hrev27259

Note: See TracTickets for help on using tickets.