Gentoo Archives: gentoo-musl

From: Lei Zhang <zhanglei.april@×××××.com>
To: Luca Barbato <lu_zero@g.o>, soc-admins@g.o, gentoo-musl@l.g.o
Subject: [gentoo-musl] Re: [GSoC] Native-clang: daily report 06/16
Date: Fri, 17 Jun 2016 06:38:21
Message-Id: CAOYuCc0LBhM_P-gWgZQm6oin9JzUTaKrxyTJyOui-1kEn+Nnmg@mail.gmail.com
In Reply to: [gentoo-musl] [GSoC] Native-clang: daily report 06/16 by Lei Zhang
1 2016-06-16 23:37 GMT+08:00 Lei Zhang <zhanglei.april@×××××.com>:
2 > Plan for today:
3 > - study the _GNU_SOURCE issue in libc++
4 >
5 > Progress today:
6 > - figure out the set of fine-grained FTMs needed to build libcxx against musl
7 >
8 > There're still some quirks in glibc. Without _GNU_SOURCE, libcxx
9 > complains about not finding towctrans, wctrans, etc, which are not
10 > hidden by any FTM at all.
11
12 After tracking the intricate macros in glibc's headers, I found that a
13 bunch of symbols, including towctrans and wctrans mentioned above, are
14 hidden when the following condition holds:
15
16 __XOPEN_SOURCE >= 500 && !defined(_GNU_SOUREC)
17
18 while these symbols are not hidden by any macros in musl. So again,
19 _GNU_SOURCE seems hard to circumvent...
20
21
22 Lei