Re: Systemd Multilib build success

"Xi Ruoyao" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
On Fri, 2024-12-20 at 16:24 +0100, Thomas Trepl wrote:
> Am Dienstag, dem 17.12.2024 um 20:52 -0500 schrieb Eric Clothier:
> > I wanted to report that I was able to successfully build MLFS using
> > jhalfs with systemd init. I have NOT done any major testing of the
> > build, but it does successfully build and boot. I did test an ml_32
> > build only, as my host distro does not include the X32_ABI kernel
> > flag, and I simply have not taken the time to build a kernel for my
> > host distro from source.

But I can see some obviously questionable things in the systemd
instructions:

- Why do we need a xsltproc symlink?  The build system should disable
building man pages when xsltproc is not available.
- The instruction seems installing "/usr/lib32/systemd/*" which are
completely meaningless.  We only want libudev.so* and libsystemd.so*.
- 'CFLAGS+=" -Wno-error=shift-overflow"' seems covering up a real bug,
instead of covering up it you should really fix the bug and preferably
send the fix upstream.
- Why "-march=i686" for lib32?  We don't add it for all other packages.

And maybe more.  The items above are just found in a quick one-minute
review.

Thus IMO it's broken.  If it happens to work for you, it just happens.


-- 
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.