Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-19 Thread Jonathan Oksman via lfs-dev
To add to this, my understanding of why you need the symlink at all has to do with overcoming some hard assumptions in the build systems of certain packages. A lot of system programs wind up hardcoding paths into their executables and scripts so that they are using their expected versions and

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-19 Thread Bruce Dubbs via lfs-dev
On 5/19/20 2:25 PM, Akira Urushibata via lfs-dev wrote: Is there any problem with making a new directory at the filesystem base level? In theory there could be a distribution which already has a /tool directory. But I have never heard of that. What alternatives are there to /tool ? If /tool

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-19 Thread Firas Khalil Khana via lfs-dev
On Tue, May 19, 2020 at 10:33 PM Akira Urushibata via lfs-dev wrote: > > Is there any problem with making a new directory at the filesystem > base level? > > In theory there could be a distribution which already has a /tool > directory. But I have never heard of that. > > What alternatives are

[lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-19 Thread Akira Urushibata via lfs-dev
Is there any problem with making a new directory at the filesystem base level? In theory there could be a distribution which already has a /tool directory. But I have never heard of that. What alternatives are there to /tool ? If /tool is so abhored, why not try /usr/local instead ? What

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-15 Thread Firas Khalil Khana via lfs-dev
On Sat, May 16, 2020 at 6:46 AM Xi Ruoyao via lfs-dev wrote: > > On 2020-05-16 06:03 +0300, Firas Khalil Khana via lfs-dev wrote: > > On Sat, May 16, 2020 at 5:48 AM Xi Ruoyao via lfs-dev > > wrote: > > > On 2020-05-16 04:37 +0300, Firas Khalil Khana via lfs-dev wrote: > > > > On Sat, May 16,

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-15 Thread Firas Khalil Khana via lfs-dev
On Sat, May 16, 2020 at 5:48 AM Xi Ruoyao via lfs-dev wrote: > > On 2020-05-16 04:37 +0300, Firas Khalil Khana via lfs-dev wrote: > > On Sat, May 16, 2020 at 4:19 AM Xi Ruoyao via lfs-dev > > wrote: > > > On 2020-05-15 19:28 +0300, Firas Khalil Khana via lfs-dev wrote: > > > > On Fri, May 15,

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-15 Thread Xi Ruoyao via lfs-dev
On 2020-05-16 04:37 +0300, Firas Khalil Khana via lfs-dev wrote: > On Sat, May 16, 2020 at 4:19 AM Xi Ruoyao via lfs-dev > wrote: > > On 2020-05-15 19:28 +0300, Firas Khalil Khana via lfs-dev wrote: > > > On Fri, May 15, 2020 at 6:48 PM Pierre Labastie via lfs-dev > > > wrote: > > > > On Fri,

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-15 Thread Firas Khalil Khana via lfs-dev
On Sat, May 16, 2020 at 4:19 AM Xi Ruoyao via lfs-dev wrote: > > On 2020-05-15 19:28 +0300, Firas Khalil Khana via lfs-dev wrote: > > On Fri, May 15, 2020 at 6:48 PM Pierre Labastie via lfs-dev > > wrote: > > > On Fri, 2020-05-15 at 18:21 +0300, Firas Khalil Khana via lfs-dev > > > wrote: > > >

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-15 Thread Xi Ruoyao via lfs-dev
On 2020-05-15 19:28 +0300, Firas Khalil Khana via lfs-dev wrote: > On Fri, May 15, 2020 at 6:48 PM Pierre Labastie via lfs-dev > wrote: > > On Fri, 2020-05-15 at 18:21 +0300, Firas Khalil Khana via lfs-dev > > wrote: > > > Hey there, > > > > > > I'd like to inquire about the actual need for the

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-15 Thread Firas Khalil Khana via lfs-dev
On Fri, May 15, 2020 at 6:48 PM Pierre Labastie via lfs-dev wrote: > > On Fri, 2020-05-15 at 18:21 +0300, Firas Khalil Khana via lfs-dev > wrote: > > Hey there, > > > > I'd like to inquire about the actual need for the /toolchain symlink > > on the host system. > > > > Apparently, failure to

Re: [lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-15 Thread Pierre Labastie via lfs-dev
On Fri, 2020-05-15 at 18:21 +0300, Firas Khalil Khana via lfs-dev wrote: > Hey there, > > I'd like to inquire about the actual need for the /toolchain symlink > on the host system. > > Apparently, failure to create this link causes > configure/build/linking > problems starting from Chapter's 5

[lfs-dev] Why is the /toolchain symlink on the host system even needed?

2020-05-15 Thread Firas Khalil Khana via lfs-dev
Hey there, I'd like to inquire about the actual need for the /toolchain symlink on the host system. Apparently, failure to create this link causes configure/build/linking problems starting from Chapter's 5 libstdc++ with errors in the form of failure to perform sanity checks (mostly because