1 |
On Sat, 23 May 2020 08:05:46 +0200 |
2 |
Michał Górny <mgorny@g.o> wrote: |
3 |
|
4 |
> On Fri, 2020-05-22 at 22:36 +0100, Sergei Trofimovich wrote: |
5 |
> > 'tc-directly' tracker https://bugs.gentoo.org/243502 tracks |
6 |
> > packages that don't respect users' CC/AR/LD flags. |
7 |
> > |
8 |
> > I added new USE=-native-symlinks mode for gcc-config and |
9 |
> > binutils-config to ease detection of such packages. |
10 |
> > |
11 |
> > Native symlinks are still installed by default. Nothing should |
12 |
> > break for users who use default USE flags. |
13 |
> > |
14 |
> > USE=-native-symlinks removes a bunch of links that most packages |
15 |
> > use by default until are overridden explicitly. Incomplete list is: |
16 |
> > - /lib/cpp |
17 |
> > - /usr/bin/{gcc,cc,g++,c++,...} |
18 |
> > - /usr/bin/{as,ld,ranlib,dwp,...} |
19 |
> > |
20 |
> > The rule of thumb is: if a tool does not have ${CTARGET}- prefix |
21 |
> > it will probably disappear with USE=-native-symlinks. |
22 |
> |
23 |
> Does this list include 'ar' or not? Asking because there's been |
24 |
> a number of false positives reported for 'ar' being used as an archiver |
25 |
> (e.g. to work on .deb packages). |
26 |
|
27 |
USE=-native-symlinks does remove /usr/bin/ar. Full(er) list for binutils is: |
28 |
|
29 |
addr2line |
30 |
ar |
31 |
as |
32 |
c++filt |
33 |
coffdump |
34 |
dlltool |
35 |
dllwrap |
36 |
dwp |
37 |
elfedit |
38 |
gprof |
39 |
ld |
40 |
ld.bfd |
41 |
ld.gold |
42 |
nm |
43 |
objcopy |
44 |
objdump |
45 |
ranlib |
46 |
readelf |
47 |
size |
48 |
srconv |
49 |
strings |
50 |
strip |
51 |
sysdump |
52 |
windmc |
53 |
windres |
54 |
|
55 |
-- |
56 |
|
57 |
Sergei |