Ticket #2564 (closed bug: fixed)

Opened 20 months ago

Last modified 19 months ago

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: Platform: All
Blocking: #2696

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

Changed 19 months ago by andreasf

  • blocking 2696 added

Changed 19 months ago by korli

  • status changed from new to closed
  • resolution set to fixed

Added s_signbitf.c for x86 in r27259

Note: See TracTickets for help on using tickets.