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

--
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

Reply via email to