Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Sergei Trofimovich
On Sun, 24 May 2020 09:40:50 +0800 "Pengcheng Xu" wrote: > > USE=-native-symlinks removes a bunch of links that most packages use by > > default > > until are overridden explicitly. Incomplete list is: > > - /lib/cpp > > - /usr/bin/{gcc,cc,g++,c++,...} > > - /usr/bin/{as,ld,ranlib,dwp,...} > >

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Fabian Groffen
On 24-05-2020 10:48:47 +0100, Sergei Trofimovich wrote: > On Sat, 23 May 2020 22:41:02 -0400 > Mike Gilbert wrote: > > I don't think we > > want to give people the impression that this is a well-supported > > configuration. I would only expect people to disable this if they want > > to break

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Sergei Trofimovich
On Sat, 23 May 2020 22:41:02 -0400 Mike Gilbert wrote: > On Fri, May 22, 2020 at 5:36 PM Sergei Trofimovich wrote: > > > > 'tc-directly' tracker https://bugs.gentoo.org/243502 tracks > > packages that don't respect users' CC/AR/LD flags. > > > > I added new USE=-native-symlinks mode for

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Sergei Trofimovich
On Sat, 23 May 2020 23:40:22 -0700 Matt Turner wrote: > On Sat, May 23, 2020 at 10:21 PM Joonas Niilola wrote: > > > > > > On 5/24/20 5:41 AM, Mike Gilbert wrote: > > > Also, people are likely to disable this accidentally via USE="-*". > > > > Counts as > > > > > if they want to break

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Kent Fredric
On Sun, 24 May 2020 10:33:18 +0200 Michał Górny wrote: > If it creates an invalid environment that is known to break packages > and is not QA-sanctioned, it should be masked. Period. Seems like yet another argument in favour of my initial position, that it probably shouldn't be controlled by

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Michał Górny
On Sun, 2020-05-24 at 20:15 +1200, Kent Fredric wrote: > On Sat, 23 May 2020 22:41:02 -0400 > Mike Gilbert wrote: > > > Could you please add this flag to package.use.force? I don't think we > > Sounds more like a case for package.use.stable.force or something. > > For non-stable, we don't give

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Kent Fredric
On Sat, 23 May 2020 22:41:02 -0400 Mike Gilbert wrote: > Could you please add this flag to package.use.force? I don't think we Sounds more like a case for package.use.stable.force or something. For non-stable, we don't give guarantees about well-supported, only that there will be bugs, and

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Kent Fredric
On Sun, 24 May 2020 09:40:50 +0800 "Pengcheng Xu" wrote: > Do we currently have (or is there a plan for) a mechanism to manage the > symbolic links and/or create them after merging the package when necessary? > It's quite tiresome to type in $CHOST-gcc for simple everyday tasks. There are

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-24 Thread Matt Turner
On Sat, May 23, 2020 at 10:21 PM Joonas Niilola wrote: > > > On 5/24/20 5:41 AM, Mike Gilbert wrote: > > Also, people are likely to disable this accidentally via USE="-*". > > Counts as > > > if they want to break their system intentionally. Yes, but unfortunately catalyst's stage1 build does

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-23 Thread Joonas Niilola
On 5/24/20 5:41 AM, Mike Gilbert wrote: > Also, people are likely to disable this accidentally via USE="-*". Counts as > if they want to break their system intentionally. > signature.asc Description: OpenPGP digital signature

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-23 Thread Mike Gilbert
On Fri, May 22, 2020 at 5:36 PM Sergei Trofimovich wrote: > > 'tc-directly' tracker https://bugs.gentoo.org/243502 tracks > packages that don't respect users' CC/AR/LD flags. > > I added new USE=-native-symlinks mode for gcc-config and > binutils-config to ease detection of such packages. > >

RE: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-23 Thread Pengcheng Xu
> USE=-native-symlinks removes a bunch of links that most packages use by > default > until are overridden explicitly. Incomplete list is: > - /lib/cpp > - /usr/bin/{gcc,cc,g++,c++,...} > - /usr/bin/{as,ld,ranlib,dwp,...} > > The rule of thumb is: if a tool does not have ${CTARGET}- prefix it

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-23 Thread Sergei Trofimovich
On Sat, 23 May 2020 08:05:46 +0200 Michał Górny wrote: > On Fri, 2020-05-22 at 22:36 +0100, Sergei Trofimovich wrote: > > 'tc-directly' tracker https://bugs.gentoo.org/243502 tracks > > packages that don't respect users' CC/AR/LD flags. > > > > I added new USE=-native-symlinks mode for

Re: [gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-23 Thread Michał Górny
On Fri, 2020-05-22 at 22:36 +0100, Sergei Trofimovich wrote: > 'tc-directly' tracker https://bugs.gentoo.org/243502 tracks > packages that don't respect users' CC/AR/LD flags. > > I added new USE=-native-symlinks mode for gcc-config and > binutils-config to ease detection of such packages. > >

[gentoo-dev] New USE=-native-symlinks for gcc-config and binutils-config

2020-05-22 Thread Sergei Trofimovich
'tc-directly' tracker https://bugs.gentoo.org/243502 tracks packages that don't respect users' CC/AR/LD flags. I added new USE=-native-symlinks mode for gcc-config and binutils-config to ease detection of such packages. Native symlinks are still installed by default. Nothing should break for