Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 09:43:35 -0500
From:      Diane Bruce <db@db.net>
To:        freebsd-numerics@FreeBSD.org
Subject:   [db@db.net: libstdc++ fun]
Message-ID:  <20130418144335.GA17561@night.db.net>

next in thread | raw e-mail | index | archive | help
----- Forwarded message from Diane Bruce <db@db.net> -----

Date: Wed, 17 Apr 2013 18:43:19 -0500
From: Diane Bruce <db@db.net>
To: theraven@FreeBSD.org, portmgr@FreeBSD.org
Subject: libstdc++ fun
User-Agent: Mutt/1.5.21 (2010-09-15)

Hey,

libstdc++ no longer exports expl
This function _is_ exported by libm in FreeBSD-HEAD (10) but not
in 9-STABLE 
so ports that used to compile on 9-STABLE are now failing. Perhaps
expl needs to be MFC to libm as well?


==
from include/sys/param.h
#define __FreeBSD_version 901504        /* Master, propagated to newvers */

FreeBSD night.db.net 9.1-STABLE FreeBSD 9.1-STABLE #13 r248878: Fri Mar 29 14:35:31 EST 2013     root@night.db.net:/usr/obj/usr/src/sys/GENERIC  amd64

grep expl libmath/*
libmath/stubs.c:expl(long double x)
libmath/stubs.c:frexpl(long double x, int *exp)
libmath/stubs.c:ldexpl(long double x, int exp)
night% /usr/lib/libm.a |grep expl
                 U frexpl
                 U ldexpl
0000000000000000 T ldexpl
s_frexpl.o:
0000000000000000 T frexpl
0000000000000000 a s_frexpl.c

night% nm -na /usr/lib/libstdc++.a |grep expl
{Nothing}

On HEAD
#define __FreeBSD_version 1000030       /* Master, propagated to newvers */
FreeBSD odyssey 10.0-CURRENT FreeBSD 10.0-CURRENT #79 r249529M: Mon Apr 15 19:00:03 EDT 2013     root@odyssey:/usr/obj/home/db/svn/system/head/sys/GENERIC  amd64


# nm -na /usr/lib/libm.a |grep expl
                 U frexpl
                 U ldexpl
s_expl.o:
0000000000000000 a /home/db/svn/system/head/lib/msun/ld80/s_expl.c
0000000000000000 T expl
0000000000000000 T ldexpl
s_frexpl.o:
0000000000000000 a /home/db/svn/system/head/lib/msun/src/s_frexpl.c
0000000000000000 T frexpl

odyssey# nm -na /usr/lib/libstdc++.a|grep expl
{nothing}


- Diane
-- 
- db@FreeBSD.org db@db.net http://www.db.net/~db

----- End forwarded message -----

-- 
- db@FreeBSD.org db@db.net http://www.db.net/~db



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130418144335.GA17561>