[Bug target/45258] linkage on -lm and -lpthread should be purged from darwin build

pinskia at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 11 17:03:00 GMT 2010



------- Comment #1 from pinskia at gmail dot com  2010-08-11 17:03 -------
Subject: Re:   New: linkage on -lm and -lpthread should be purged from darwin
build

What about removing those in the driver?  This way it works correctly  
for other makefiles too?

On Aug 11, 2010, at 9:30 AM, "howarth at nitro dot med dot uc dot edu"  
<gcc-bugzilla@gcc.gnu.org> wrote:

> Currently libjava is being improperly linked (PR java/41991) due to  
> the
> presence of -lm and -lpthreads on the shared library linkages. This  
> causes
> libSystem.dylib to be pushed to the front of the linkage and breaks  
> the logic
> used by libgcc_ext. We should add and set defines for  
> HAVE_LIBSYSTEM_PTHREADS
> and HAVE_LIBSYSTEM_LIBMATH to configure and use these for  
> conditionals in the
> Makefile.am's where appropriate to avoid passing -lm and -lpthread  
> on darwin.
>
>
> -- 
>           Summary: linkage on -lm and -lpthread should be purged from
>                    darwin build
>           Product: gcc
>           Version: 4.6.0
>            Status: UNCONFIRMED
>          Severity: normal
>          Priority: P3
>         Component: target
>        AssignedTo: unassigned at gcc dot gnu dot org
>        ReportedBy: howarth at nitro dot med dot uc dot edu
> GCC build triplet: *-apple-darwin*
>  GCC host triplet: *-apple-darwin*
> GCC target triplet: *-apple-darwin*
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45258
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45258



More information about the Gcc-bugs mailing list