When running the check, I see errors reported about missing libgcc_s.so.1

```
make[5]: *** [Makefile:9399: gdb_index_test_1] Error 1
make[5]: Target 'gdb_index_test_1.stdout' not remade because of errors.
`echo g++ -W -Wall    -Wstack-usage=262144 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -fno-use-linker-plugin   -o
gdb_index_test_2 | sed -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir\/\2/' -e
's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -Wl,--gdb-index
gdb_index_test_cdebug.o
gcctestdir/collect-ld: error: cannot open
/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../lib/libgcc_s.so: No
such file or directory
gcctestdir/collect-ld: error: cannot open
/usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../lib/libgcc_s.so: No
such file or directory
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:9405: gdb_index_test_2] Error 1
```

So I checked the directory layout and usr/lib/libgcc_s.so does exist.
However, it's a pointer to:

`readlink libgcc_s.so`
produces: `/tools/lib/libgcc_s.so`

Navigating to /tools/lib:
```
(lfs chroot) root:/tools/lib# ls
gcc  libcc1.la libcc1.so  libcc1.so.0 libcc1.so.0.0.0
```

Why might this setup be occuring?
-- 
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