On 08/02/2021 05:05, Bruce Dubbs wrote:
On 2/7/21 9:52 PM, Ken Moffat wrote:
On Mon, Feb 08, 2021 at 11:14:22AM +0800, xry...@mengyan1223.wang wrote:
Please help me to test my glibc workaround in this thread. If it
works,
crt1.o should have no "needed" ISA markers (even x86-64-baseline
should
not be there). Then we can add it as a note in the book.
If it was on binutils sid, it should be diagnosticed already in the
editors' builds. We use -march in GMP and libffi so their test
suites
would immediately fail, if it was a binutils issue.
I think it's not glibc devs, just other packagers or distro
maintainers
like us thought it was a binutils issue. I actually left a wrong
comment
in the BZ. No way to delete it :(.
Sorry again for the bad formatting on my phone.
Thanks for reminding me of that workaround, I'd lost sight of it. To
quote you from upthread -
| You can turn off ISA marker with "libc_cv_include_x86_isa_level=no".
| Just append it to glibc configure line, like:
../configure --prefix=/usr \
--disable-werror \
--enable-kernel=3.2 \
--enable-stack-protector=strong \
--with-headers=/usr/include \
libc_cv_slibdir=/lib libc_cv_include_x86_isa_level=no
Just a minor tweak. I had to read this closely to understand it:
../configure --prefix=/usr \
--disable-werror \
--enable-kernel=3.2 \
--enable-stack-protector=strong \
--with-headers=/usr/include \
libc_cv_slibdir=/lib \
libc_cv_include_x86_isa_level=no
-- Bruce
I did not mention it explicitly, but as soon as Xi mentioned the
workaround, I tried it. It works on my older system. It also seems that
distributors are now also using this workaround.
One question I have: where can we find those libc_... switches? I have
searched for it before, but could not find it
--- Frans.
--
A: Yes, just like that A: 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