Re: [lfs-support] Error when running command as tester in gcc 8.26

2021-02-05 Thread Ken Moffat
On Thu, Feb 04, 2021 at 03:24:25PM +0100, Jakub Drozd wrote:
> Hi, I appreciate for the help received and I rebuilt ncurses and now the 
> symlink works. I built everything up to 8.26.  When I run su tester -c 
> PATH=$PATH make -k check, I recieve su: Cannot drop the 
> controlling terminal Is there a way to repair this and run the test 
> without rebuilding again? I will very appreciate for instant help.  Hope that 
> I will recieve help fast,  Jakub Drozd Waiting for Urgent Help

I think you need to develop better google-fu (i.e. skills in framing
the search) - other engines such as duck duck go are available, but
for me they still provide far fewer answers.

Gurgling 'cannot drop the controlling terminal' got me several
lfs-related matches:

https://lfs-support.linuxfromscratch.narkive.com/sZIeWLZk/chroot-problem
old, but it suggests that perhaps one of the filesystems (/dev/
proc, /sys and perhaps nowadays /dev/pts and /run) was not mounted.

On that occasion, Bruce's reply to "can I move on with this error in
the system" was 'yes'.  There was a similar question in April last
year (at that time the build was VERY different from what is in
10.0) and I noticed that libncursesw.so was not found (which should
have been correct in that version of the book, since it was in
/tools) :
https://www.mail-archive.com/lfs-support@lists.linuxfromscratch.org/msg06680.html

Sounds familiar, but maybe pure chance.

See the thread details, but that (apparently carried over from a
previous problem) was never solved.

That's the other thing you need to understand: there are few people
here and you will not necessarily get any reply to a problem (at the
moment the editors are all involved in other things as we approach
getting ready for our next release).

However, a report at linuxquestions
https://www.linuxquestions.org/questions/linux-from-scratch-13/su-cannot-drop-the-controlling-terminal-6-25-gcc-4175671731/
found someone building LFS in October last year from a fedora host
on aarch64 (64-bit ARM) who had to use 'su tester -s /bin/bash' to
run the command.  Perhaps that might be relevant to your problem.
If it is, what host distro are you using ?

My matches also found a much older problem raised by Andy Benton
(same error message, but not related to this since you must be using
su from coreutils at this stage).  He is still much missed, thank
you for reminding me of his contributions (and his help to me) over
the years.

ĸen
-- 
Any attempt to brew coffee with a teapot should result in the error
code "418 I'm a teapot". The resulting entity body MAY be short and
stout. -- rfc 2324 (1st April 1998)

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Ken Moffat
On Fri, Feb 05, 2021 at 08:36:45PM +0100, Frans de Boer wrote:
> On 05/02/2021 20:16, Frans de Boer wrote:
> > On 05/02/2021 16:25, xry...@mengyan1223.wang wrote:
> > > Hi Frans,
> > > 
> > > Could you send the result of
> > > 
> > > $LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA
> > > 
> > > (in host distro)
> > > 
> > > and config.log of glibc (both ch6 and ch8)?
> > > 
> > > Sorry for bad formating (using my phone to reply)
> > > 
> > Just started recompiling glibc 2.33 (ch8) after change to binutils
> > 2.35.2. Ik keep you informed using this list.
> > 
> > Frans
> Okay, I get the same message when compiling with binutils 2.35.2.
> 
Hi Frans,

sorry my suggestion has delayed you getting closer to the problem.
For the little it is worth, I've just tried building glibc-2.33 on a
zen1 (so, it is unlikely to replicate your error) in a completed
system with binutils-2.35.1, headers from linux-5.9 and running a
5.10.2 kernel.

That sailed through, but with one error in the glibc tests:
FAIL: elf/tst-cpu-features-cpuinfo

I guess that means glibc-2.36 is needed to use the new HWCAPS
abilities when building binaries (no other failures, but this is on
a completed system, not in chroot).

And I must admit I'm surprised DESTDIR works, I thought glibc used
to required a different variation (INSTALL_ROOT or something like
that).

I'll go back to rebuilding my firefoxes (built 86.0b5 last night for
testing, but that too had the vulnerability, 86.0b6 has had the fix)
and looking at security advisories ;-)

ĸen
-- 
Any attempt to brew coffee with a teapot should result in the error
code "418 I'm a teapot". The resulting entity body MAY be short and
stout. -- rfc 2324 (1st April 1998)

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Error when running su tester -c ... in 8.26

2021-02-05 Thread Jakub Drozd
Hi, I appreciate every help I and the community receive by this mailing list. I 
see you dont see my e-mail from yesterday. So here is the content of my 
previous e-mail (in a e-mail.txt file):  we.tl we.tl  . We.tl is a shortcut for 
WeTransfer.  Best regards Jakub Drozd Waiting for very urgent help
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer

On 05/02/2021 22:23, Frans de Boer wrote:

On 05/02/2021 21:54, Frans de Boer wrote:

On 05/02/2021 21:35, Pierre Labastie wrote:

On Fri, 2021-02-05 at 20:54 +0100, Frans de Boer wrote:

On 05/02/2021 20:16, Frans de Boer wrote:

  On 05/02/2021 16:25, xry...@mengyan1223.wang wrote:

  Hi Frans,

Could you send the result of

$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA


  The line '$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA' returns
nothing.

You need to use readelf from binutils 2.36. If you have back up to
2.35.1, it returns nothing.

Pierre

Now recompiling with binutils-2.36 and glibc-2.33. I will later send 
the config.log from ch5 (not ch6) and tomorrow morning (UTC-1) the 
config.log from ch8.


Frans.

glibc-2.33 config.log from ch5.
Maybe later the result from readelf, otherwise tomorrow.

Frans.


Quicker then expected: The result from readelf after glibc-2.33 in ch5.

  Properties: x86 ISA needed: x86-64-baseline
    x86 ISA used: x86-64-baseline, x86-64-v2, x86-64-v3, x86-64-v4

Frans.

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer

On 05/02/2021 21:54, Frans de Boer wrote:

On 05/02/2021 21:35, Pierre Labastie wrote:

On Fri, 2021-02-05 at 20:54 +0100, Frans de Boer wrote:

On 05/02/2021 20:16, Frans de Boer wrote:

  On 05/02/2021 16:25, xry...@mengyan1223.wang wrote:

  Hi Frans,

Could you send the result of

$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA


  The line '$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA' returns
nothing.

You need to use readelf from binutils 2.36. If you have back up to
2.35.1, it returns nothing.

Pierre

Now recompiling with binutils-2.36 and glibc-2.33. I will later send 
the config.log from ch5 (not ch6) and tomorrow morning (UTC-1) the 
config.log from ch8.


Frans.

glibc-2.33 config.log from ch5.
Maybe later the result from readelf, otherwise tomorrow.

Frans.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /mnt/lfs/sources-base/glibc-2.33/configure --prefix=/usr --host=x86_64-cross-linux-gnu --build=x86_64-suse-linux-gnu --enable-kernel=3.2 --with-headers=/mnt/lfs/usr/include libc_cv_slibdir=/lib

## - ##
## Platform. ##
## - ##

hostname = pws1
uname -m = x86_64
uname -r = 5.8.18-FdB-pws1
uname -s = Linux
uname -v = #2 SMP Fri Jan 29 22:05:14 CET 2021

/usr/bin/uname -p = x86_64
/bin/uname -X = unknown

/bin/arch  = x86_64
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /mnt/lfs/crosstools/bin
PATH: /bin
PATH: /usr/bin


## --- ##
## Core tests. ##
## --- ##

configure:2213: checking build system type
configure:2227: result: x86_64-suse-linux-gnu
configure:2247: checking host system type
configure:2260: result: x86_64-cross-linux-gnu
configure:2289: checking for x86_64-cross-linux-gnu-gcc
configure:2305: found /mnt/lfs/crosstools/bin/x86_64-cross-linux-gnu-gcc
configure:2316: result: x86_64-cross-linux-gnu-gcc
configure:2585: checking for C compiler version
configure:2594: x86_64-cross-linux-gnu-gcc --version >&5
x86_64-cross-linux-gnu-gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2605: $? = 0
configure:2594: x86_64-cross-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=x86_64-cross-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/mnt/lfs/crosstools/libexec/gcc/x86_64-cross-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-cross-linux-gnu
Configured with: /mnt/lfs/sources-base/gcc-10.2.0/configure --prefix=/mnt/lfs/crosstools --target=x86_64-cross-linux-gnu --with-sysroot=/mnt/lfs --with-glibc-version=2.19 --with-newlib --without-headers --enable-initfini-array --disable-shared --disable-decimal-float --disable-libatomic --disable-libgomp --disable-libquadmath --disable-libssp --disable-libstdcxx --disable-libvtv --disable-multilib --disable-nls --disable-threads --enable-languages=c,c++
Thread model: single
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (GCC) 
configure:2605: $? = 0
configure:2594: x86_64-cross-linux-gnu-gcc -V >&5
x86_64-cross-linux-gnu-gcc: error: unrecognized command-line option '-V'
x86_64-cross-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2605: $? = 1
configure:2594: x86_64-cross-linux-gnu-gcc -qversion >&5
x86_64-cross-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
x86_64-cross-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2605: $? = 1
configure:2610: checking for suffix of object files
configure:2632: x86_64-cross-linux-gnu-gcc -c   conftest.c >&5
configure:2636: $? = 0
configure:2657: result: o
configure:2661: checking whether we are using the GNU C compiler
configure:2680: x86_64-cross-linux-gnu-gcc -c   conftest.c >&5
configure:2680: $? = 0
configure:2689: result: yes
configure:2698: checking whether x86_64-cross-linux-gnu-gcc accepts -g
configure:2718: x86_64-cross-linux-gnu-gcc -c -g  conftest.c >&5
configure:2718: $? = 0
configure:2759: result: yes
configure:2788: checking for gcc
configure:2804: found /usr/bin/gcc
configure:2815: result: gcc
configure:2839: checking for x86_64-cross-linux-gnu-readelf
configure:2855: found /mnt/lfs/crosstools/bin/x86_64-cross-linux-gnu-readelf
configure:2866: result: x86_64-cross-linux-gnu-readelf
configure:2944: checking for x86_64-cross-linux-gnu-g++
configure:2960: found /mnt/lfs/crosstools/bin/x86_64-cross-linux-gnu-g++
configure:2971: result: x86_64-cross-linux-gnu-g++
configure:3042: checking for C++ compiler version
configure:3051: x86_64-cross-linux-gnu-g++ --version >&5
x86_64-cross-linux-gnu-g++ (GCC) 

Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer

On 05/02/2021 21:35, Pierre Labastie wrote:

On Fri, 2021-02-05 at 20:54 +0100, Frans de Boer wrote:

On 05/02/2021 20:16, Frans de Boer wrote:
  
  
On 05/02/2021 16:25, xry...@mengyan1223.wang wrote:
  
  
Hi Frans,


Could you send the result of

$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA


  The line '$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA' returns
nothing.

You need to use readelf from binutils 2.36. If you have back up to
2.35.1, it returns nothing.

Pierre

Now recompiling with binutils-2.36 and glibc-2.33. I will later send the 
config.log from ch5 (not ch6) and tomorrow morning (UTC-1) the 
config.log from ch8.


Frans.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Pierre Labastie
On Fri, 2021-02-05 at 20:54 +0100, Frans de Boer wrote:
> On 05/02/2021 20:16, Frans de Boer wrote:
>  
> >  
> > On 05/02/2021 16:25, xry...@mengyan1223.wang wrote:
> >  
> > >  
> > > Hi Frans,  
> > > 
> > > Could you send the result of
> > > 
> > > $LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA
> > > 
>  The line '$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA' returns
> nothing.

You need to use readelf from binutils 2.36. If you have back up to
2.35.1, it returns nothing.

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer

On 05/02/2021 20:16, Frans de Boer wrote:

On 05/02/2021 16:25, xry...@mengyan1223.wang wrote:

Hi Frans,

Could you send the result of

$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA

(in host distro)

and config.log of glibc (both ch6 and ch8)?

Sorry for bad formating (using my phone to reply)

Just started recompiling glibc 2.33 (ch8) after change to binutils 
2.35.2. Ik keep you informed using this list.


Frans
The line '$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA' returns 
nothing.


-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer

On 05/02/2021 20:16, Frans de Boer wrote:

On 05/02/2021 16:25, xry...@mengyan1223.wang wrote:

Hi Frans,

Could you send the result of

$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA

(in host distro)

and config.log of glibc (both ch6 and ch8)?

Sorry for bad formating (using my phone to reply)

Just started recompiling glibc 2.33 (ch8) after change to binutils 
2.35.2. Ik keep you informed using this list.


Frans

Okay, I get the same message when compiling with binutils 2.35.2.
I will now restart the rebuild. In the meantime, I have already attached 
the config.log from ch8.


Frans.


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /sources-base/glibc-2.33/configure --prefix=/usr --libdir=/usr/lib --disable-werror --enable-kernel=3.2 --enable-stack-protector=strong --with-headers=/usr/include libc_cv_slibdir=/lib

## - ##
## Platform. ##
## - ##

hostname = pws1
uname -m = x86_64
uname -r = 5.8.18-FdB-pws1
uname -s = Linux
uname -v = #2 SMP Fri Jan 29 22:05:14 CET 2021

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin


## --- ##
## Core tests. ##
## --- ##

configure:2213: checking build system type
configure:2227: result: x86_64-pc-linux-gnu
configure:2247: checking host system type
configure:2260: result: x86_64-pc-linux-gnu
configure:2329: checking for gcc
configure:2345: found /usr/bin/gcc
configure:2356: result: gcc
configure:2585: checking for C compiler version
configure:2594: gcc --version >&5
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2605: $? = 0
configure:2594: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-cross-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-cross-linux-gnu
Configured with: /mnt/lfs/sources-base/gcc-10.2.0/configure --prefix=/usr --host=x86_64-cross-linux-gnu --build=x86_64-suse-linux-gnu CC_FOR_TARGET=x86_64-cross-linux-gnu-gcc --with-build-sysroot=/mnt/lfs --enable-initfine-array --enable-languages=c,c++ --disable-multilib --disable-nls --disable-decimal-float --disable-libatomic --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (GCC) 
configure:2605: $? = 0
configure:2594: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2605: $? = 1
configure:2594: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:2605: $? = 1
configure:2610: checking for suffix of object files
configure:2632: gcc -c -O2 -march=native  conftest.c >&5
configure:2636: $? = 0
configure:2657: result: o
configure:2661: checking whether we are using the GNU C compiler
configure:2680: gcc -c -O2 -march=native  conftest.c >&5
configure:2680: $? = 0
configure:2689: result: yes
configure:2698: checking whether gcc accepts -g
configure:2718: gcc -c -g  conftest.c >&5
configure:2718: $? = 0
configure:2759: result: yes
configure:2879: checking for readelf
configure:2895: found /usr/bin/readelf
configure:2906: result: readelf
configure:2988: checking for g++
configure:3004: found /usr/bin/g++
configure:3015: result: g++
configure:3042: checking for C++ compiler version
configure:3051: g++ --version >&5
g++ (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3062: $? = 0
configure:3051: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-cross-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-cross-linux-gnu
Configured with: /mnt/lfs/sources-base/gcc-10.2.0/configure --prefix=/usr --host=x86_64-cross-linux-gnu --build=x86_64-suse-linux-gnu CC_FOR_TARGET=x86_64-cross-linux-gnu-gcc --with-build-sysroot=/mnt/lfs --enable-initfine-array --enable-languages=c,c++ --disable-multilib --disable-nls --disable-decimal-float --disable-libatomic --disable-libgomp --disable-libquadmath --disable-libssp --disable-libvtv --disable-libstdcxx
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (GCC) 
configure:3062: $? = 0

Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer

On 05/02/2021 16:25, xry...@mengyan1223.wang wrote:

Hi Frans,

Could you send the result of

$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA

(in host distro)

and config.log of glibc (both ch6 and ch8)?

Sorry for bad formating (using my phone to reply)

Just started recompiling glibc 2.33 (ch8) after change to binutils 
2.35.2. Ik keep you informed using this list.


Frans

--
A: Yes, just like thatA: Ja, net zo
Q: Oh, Just like reading a book backwards Q: Oh, net als een boek 
achterstevoren lezen
A: Because it upsets the natural flow of a story  A: Omdat het de natuurlijke 
gang uit het verhaal haalt
Q: Why is top-posting annoying?   Q: Waarom is Top-posting zo 
irritant?

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Ken Moffat
On Fri, Feb 05, 2021 at 12:31:56PM +0100, Frans de Boer wrote:
> On 05/02/2021 12:29, Frans de Boer wrote:
> > After the 'file' issue, I started rebuilding LFS. Just to find out that
> > it stops with the message
> > '/lib/libc.so.6: CPU ISA level is lower than required'
> > 
> > I use a Phenom II X4 365, but that seems now outdated?
> > 
> > --- Frans
> > 
> Sorry, have to add  that it was in chapter 8.
> 
Seems to come from the HWCAPS additions (which are supposed to allow
distros to produce binaries for various groups of the x86_64
architecture (V1, V2, ...).

The tests are supposed to allow the required version to be tested (I
can't find a list of versions, but higher versions have more shinier
options).  I also can't find how to determine what version is
requested, nor what version binutils thinks the running machine is.

Your machine is from the K10 family, from a little over 10 years
ago.  I very much doubt that anyone has tried building glibc-2.33 on
anything like that.  Sounds like a bug somewhere, probably in
binutils.

I was skimming a mirror of the kernel lists and saw someone having
problems with binutils-2.36 (couldn't build 5.10 kernels). The
current bugs seems to be listed at
https://www.mail-archive.com/bug-binutils@gnu.org/
although I have not attempted to review how serious most of those
are.

The one I noted (hopefully fixed with 5.10.13) is copied there:
https://www.mail-archive.com/bug-binutils@gnu.org/msg36912.html.

I get the impression that 2.36 might be problematic.

ĸen
-- 
Any attempt to brew coffee with a teapot should result in the error
code "418 I'm a teapot". The resulting entity body MAY be short and
stout. -- rfc 2324 (1st April 1998)

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread xry...@mengyan1223.wang
Hi Frans, Could you send the result of$LFS_TGT-readelf -a $LFS/lib/libc.so.6 | grep ISA(in host distro) and config.log of glibc (both ch6 and ch8)?Sorry for bad formating (using my phone to reply) -- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer

On 05/02/2021 13:42, Ken Moffat wrote:

On Fri, Feb 05, 2021 at 12:31:56PM +0100, Frans de Boer wrote:

On 05/02/2021 12:29, Frans de Boer wrote:

After the 'file' issue, I started rebuilding LFS. Just to find out that
it stops with the message
'/lib/libc.so.6: CPU ISA level is lower than required'

I use a Phenom II X4 365, but that seems now outdated?

--- Frans


Sorry, have to add  that it was in chapter 8.


Seems to come from the HWCAPS additions (which are supposed to allow
distros to produce binaries for various groups of the x86_64
architecture (V1, V2, ...).

The tests are supposed to allow the required version to be tested (I
can't find a list of versions, but higher versions have more shinier
options).  I also can't find how to determine what version is
requested, nor what version binutils thinks the running machine is.

Your machine is from the K10 family, from a little over 10 years
ago.  I very much doubt that anyone has tried building glibc-2.33 on
anything like that.  Sounds like a bug somewhere, probably in
binutils.

I was skimming a mirror of the kernel lists and saw someone having
problems with binutils-2.36 (couldn't build 5.10 kernels). The
current bugs seems to be listed at
https://www.mail-archive.com/bug-binutils@gnu.org/
although I have not attempted to review how serious most of those
are.

The one I noted (hopefully fixed with 5.10.13) is copied there:
https://www.mail-archive.com/bug-binutils@gnu.org/msg36912.html.

I get the impression that 2.36 might be problematic.

ĸen
Okay, I will just rebuild stuff with binutils-2.35.2 and see if your 
theory sticks. Just have to wait some time.


--- Frans.

--
A: Yes, just like thatA: Ja, net zo
Q: Oh, Just like reading a book backwards Q: Oh, net als een boek 
achterstevoren lezen
A: Because it upsets the natural flow of a story  A: Omdat het de natuurlijke 
gang uit het verhaal haalt
Q: Why is top-posting annoying?   Q: Waarom is Top-posting zo 
irritant?

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer

On 05/02/2021 12:29, Frans de Boer wrote:
After the 'file' issue, I started rebuilding LFS. Just to find out 
that it stops with the message

'/lib/libc.so.6: CPU ISA level is lower than required'

I use a Phenom II X4 365, but that seems now outdated?

--- Frans


Sorry, have to add  that it was in chapter 8.

--
A: Yes, just like thatA: Ja, net zo
Q: Oh, Just like reading a book backwards Q: Oh, net als een boek 
achterstevoren lezen
A: Because it upsets the natural flow of a story  A: Omdat het de natuurlijke 
gang uit het verhaal haalt
Q: Why is top-posting annoying?   Q: Waarom is Top-posting zo 
irritant?

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Compile error glibc2.33

2021-02-05 Thread Frans de Boer
After the 'file' issue, I started rebuilding LFS. Just to find out that 
it stops with the message

'/lib/libc.so.6: CPU ISA level is lower than required'

I use a Phenom II X4 365, but that seems now outdated?

--- Frans

--
A: Yes, just like thatA: Ja, net zo
Q: Oh, Just like reading a book backwards Q: Oh, net als een boek 
achterstevoren lezen
A: Because it upsets the natural flow of a story  A: Omdat het de natuurlijke 
gang uit het verhaal haalt
Q: Why is top-posting annoying?   Q: Waarom is Top-posting zo 
irritant?

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

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 bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style