Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-13 Thread coolnodje
> It looks like everything is OK, but Pierre has figured out that the > problem is a version of bash that is too old in debian stable. As he > said, the workaround is to use fg when becoming user lfs.  The > complete solution is to use Debian testing. > > I'll note that earlier versions of Debian

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-13 Thread Bruce Dubbs
On 1/13/21 7:46 AM, coolnodje wrote: Is http://linuxfromscratch.org quite slow or is it just me? I have a lot of timeouts getting pages, started at when I encountered the bug, roughly. It is slow. Try one of the mirrors. We are working on a major upgrade to the server. -- Bruce --

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-13 Thread Bruce Dubbs
On 1/13/21 7:23 AM, coolnodje wrote: Interesting.  Can you do 'su -' to become root? I haven't set a root pwd, but `sudo su -` works fine What are the ownership and permissions of /home/lfs/, /home/lfs/.bash_profile, and /home/lfs/.bashrc ? All standard, I believe, respectively: 755

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-13 Thread coolnodje
The error goes like this: root@LFSDebian:~# su - lfs [3]+  Stopped su - lfs At this point, you can type "fg" and the key. It's incredible that

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-13 Thread coolnodje
> Interesting.  Can you do 'su -' to become root? I haven't set a root pwd, but `sudo su -` works fine > > What are the ownership and permissions of /home/lfs/, > /home/lfs/.bash_profile, and /home/lfs/.bashrc ? All standard, I believe, respectively: 755 lfs:lfs 644 lfs:lfs 644 lfs:lfs > > Did

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-12 Thread Pierre Labastie
On Tue, 2021-01-12 at 20:37 +0100, coolnodje wrote: > GCC compilation went well after fixing PATH from .bashrc > > > But oddly the problem when using `su - lfs` comes from .bash_profile, > containing > exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash as defined > in the book. > >

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-12 Thread Bruce Dubbs
On 1/12/21 1:37 PM, coolnodje wrote: GCC compilation went well after fixing PATH from .bashrc But oddly the problem when using `su - lfs` comes from .bash_profile, containing |exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash| as defined in the book. Using `su lfs` then cd home

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-12 Thread coolnodje
GCC compilation went well after fixing PATH from .bashrc But oddly the problem when using `su - lfs` comes from .bash_profile, containing exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash as defined in the book. Using `su lfs` then cd home

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-11 Thread Pierre Labastie
On Mon, 2021-01-11 at 13:31 +0100, coolnodje wrote: > > > Anyway, good tip to redirect stdout, should be standard. > Makes the output much more readable even though still quite long in > this > case: stderr: https://pastebin.com/204fpTzi Hmmm, using cross-tools not prefixed with host triplet

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-11 Thread coolnodje
> Well, you could read the footer: I definitely could have :) funny how eyes can skip what seems unimportant. Even if I had read it, it wouldn't have been immediately clear though. I just wasn't aware of the issue, even though I've been reading annoyingly formatted mailing list threads for

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-08 Thread Bruce Dubbs
On 1/8/21 11:25 AM, Don Cross wrote: On Fri, Jan 8, 2021 at 11:32 AM Bruce Dubbs > wrote: On 1/8/21 7:36 AM, coolnodje wrote: >  > Please do not top post to the mailing list. > I'm not quite sure I understand what you mean. As a fellow gmail

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-08 Thread Don Cross
On Fri, Jan 8, 2021 at 11:32 AM Bruce Dubbs wrote: > On 1/8/21 7:36 AM, coolnodje wrote: > > > Please do not top post to the mailing list. > > I'm not quite sure I understand what you mean. > > As a fellow gmail user, it helps to point out that Google makes it almost certain that new people

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-08 Thread Bruce Dubbs
On 1/8/21 7:36 AM, coolnodje wrote: > Please do not top post to the mailing list. I'm not quite sure I understand what you mean. Well, you could read the footer: Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-08 Thread coolnodje
> Please do not top post to the mailing list. I'm not quite sure I understand what you mean. I copy pasted from HTML version, double checked before executing, and besides binutils compilation ran fine. Here's the result from version-check.sh:

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-08 Thread Bruce Dubbs
On 1/8/21 4:32 AM, coolnodje wrote: Thanks for your answer. I may be wrong but I think the error indicates that it /doesn't recognize/ the flag `--disable-libstdcxx` Anyway I copy pasted the configure flags from the manual, and i double checked, it was included in the configure directive.

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-08 Thread coolnodje
Thanks for your answer. I may be wrong but I think the error indicates that it doesn't recognize the flag `--disable-libstdcxx` Anyway I copy pasted the configure flags from the manual, and i double checked, it was included in the configure

Re: [lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-08 Thread Pierre Labastie
On Fri, 2021-01-08 at 10:51 +0100, coolnodje wrote: > Hi, > I'm using a Debian latest as host system and have met the following > problem when trying to compile GCC-10.2.0 - Pass 1, following > instructions from > http://linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html > > xg++:

[lfs-support] xg++: error: unrecognized command-line option '-funconfigured-libstdc++-v3' when compiling GCC 1st pass

2021-01-08 Thread coolnodje
Hi, I'm using a Debian latest as host system and have met the following problem when trying to compile GCC-10.2.0 - Pass 1, following instructions from http://linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html xg++: error: