Re: Ncurses not compiling - LFS 12.2-systemd
"Xi Ruoyao" ([email protected] via lfs-support Mailing List) <[email protected]> Fri, 21 Mar 2025 02:47:36 +0800
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2025-03-20 at 17:35 +0000, kevadesu wrote: > I am redoing an installation of Linux from Scratch 12.2-systemd (stable) /* snip */ > /mnt/lfs2/tools/lib/gcc/x86_64-lfs-linux-gnu/14.2.0/../../../../x86_64-lfs- > linux-gnu/bin/ld: demo: hidden symbol `_Unwind_GetLanguageSpecificData' in / > mnt/lfs2/tools/lib/gcc/x86_64-lfs-linux-gnu/14.2.0/libgcc.a(unwind-dw2.o) is > referenced by DSO > /mnt/lfs2/tools/lib/gcc/x86_64-lfs-linux-gnu/14.2.0/../../../../x86_64-lfs- > linux-gnu/bin/ld: final link failed: bad value It shouldn't happen. Here the DSO is libstdc++.so, and after libstdc++- pass1 it should contains its own definition for _Unwind_GetLanguageSpecificData: $ objdump -t /mnt/build_dir/usr/lib/libstdc++.so | grep GetLanguage 00000000002ed6a0 l F .text 000000000000000c _Unwind_GetLanguageSpecificData I guess you attempted to (re)build chapter 6 ncurses after building chapter 6 GCC. Then you'd be mixing up libstdc++.so from chapter 6 and GCC from chapter 5. Doing so is not supported (i.e. GCC developers don't support mixing up libstdc++.so and GCC from different configurations, and we don't support reordering chapter 6 packages). -- 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