Discussion:
[lfs-support] LFS 8.2-rc2: confusing wording in Ch.6 section 21: gcc sanity tests
Hazel Russman
2018-08-26 15:42:25 UTC
Permalink
"References to paths that have components with '-linux-gnu' should be ignored, but otherwise the output of the last command should be:
SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
SEARCH_DIR("/usr/local/lib64") SEARCH_DIR("/lib64")
SEARCH_DIR("/usr/lib64") SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
SEARCH_DIR("/usr/local/lib") SEARCH_DIR("/lib") SEARCH_DIR("/usr/lib")"

The first sentence seems to be copied verbatim from the glibc sanity test section, where it is appropriate: the "-linux-gnu" directories are still rooted in /tools at that stage. Here however it conflicts with the following list, which correctly shows these directories, since they are now in their final locations.

I would omit most of the introductory sentence and just leave: "The output of the last command should be..."
--
Hazel
--
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/wik
Bruce Dubbs
2018-08-26 16:04:19 UTC
Permalink
Post by Hazel Russman
SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
SEARCH_DIR("/usr/local/lib64") SEARCH_DIR("/lib64")
SEARCH_DIR("/usr/lib64") SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")
SEARCH_DIR("/usr/local/lib") SEARCH_DIR("/lib") SEARCH_DIR("/usr/lib")"
The first sentence seems to be copied verbatim from the glibc sanity test section, where it is appropriate: the "-linux-gnu" directories are still rooted in /tools at that stage. Here however it conflicts with the following list, which correctly shows these directories, since they are now in their final locations.
I would omit most of the introductory sentence and just leave: "The output of the last command should be..."
IIRC, the lines

SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib64")
SEARCH_DIR("/usr/x86_64-pc-linux-gnu/lib")

may be different for non x86 HW. What we say is not wrong. Those lines
can still be ignored.

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