Re: LFS build of File-5.45 problem stops on compilation of seccomp.c
"Xi Ruoyao" ([email protected] via lfs-support Mailing List) <[email protected]> Thu, 20 Feb 2025 15:16:07 +0800
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2025-02-20 at 14:41 +0800, Xi Ruoyao wrote:
> On Wed, 2025-02-19 at 18:46 -0600, dave kohler wrote:
> > I have audited all the symbolic links that the LFS 12.3-RC1 book
> > directed me to make up to the point of stopping with the error. All
> > the symbolic links appear to be correctly made. I did this by
> > navigating to the target directory of each ln -s I found and performed
> > yesterday, then used ls -alt to confirm the link was correctly made.
> > So I doubt the symbolic links are part of the problem in my LFS build.
> > Hope you can figure out the cause of the problems with output of the
> > modified gcc test command:
> >
> > SEARCH_DIR("=/mnt/lfs/tools/x86_64-lfs-linux-gnu/lib64");
> > SEARCH_DIR("=/usr/local/lib64"); SEARCH_DIR("=/lib64"); SE
> > ARCH_DIR("=/usr/lib64"); SEARCH_DIR("=/mnt/lfs/tools/x86_64-lfs-linux-
> > gnu/lib"); SEARCH_DIR("=/usr/local/lib"); SEAR
> > CH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
> >
> > iIf you have run out of ideas, please let me know.
>
> So let's try this (still as the lfs user) before starting over:
>
> echo "int main(){}" | $LFS_TGT-gcc -x c - -lseccomp -Wl,--verbose
Also add a "-v" here, i.e.
echo "int main(){}" | $LFS_TGT-gcc -v -x c - -lseccomp -Wl,--verbose
> and paste the output.
--
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University
--
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page