Re: Systemd Multilib build success

"Eric Clothier" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <CAAGwWFWi_OD-4XB3-Vgndr6CeyQ46MY8gKTPijGtVAswNKxwXQ@mail.gmail.com>
On Mon, Dec 23, 2024, 21:49 Eric Clothier <[email protected]> wrote:

> On Mon, Dec 23, 2024 at 5:53 PM Eric Clothier <[email protected]>
> wrote:
>
>> On Mon, Dec 23, 2024, 16:49 Thomas Trepl <[email protected]>
>> wrote:
>>
>>> Am Montag, dem 23.12.2024 um 00:14 -0500 schrieb Eric Clothier:
>>> > On Sun, Dec 22, 2024 at 11:07 PM Eric Clothier <
>>> [email protected]> wrote:
>>> > > ...
>>> > >
>>> > > Thomas, I have a patch that I am currently testing to update the
>>> systemd build instructions. Once I can verify the build completed and is
>>> bootable, I will send the patch. I addressed the issues Xi raised, aside
>>> from the CFLAGS/CXXFLAGS, as those are on the mx32 builds only and I
>>> haven't gotten to that point yet. I also updated the meson switches from
>>> -Dxxx to -D xxx style, and switched to meson setup invocation, to match the
>>> non-multilib instructions. And I removed some duplicated/deprecated
>>> switches as well.
>>> > >
>>> > > --
>>> > > Eric
>>> > >
>>> >
>>> >
>>> > Attached is the patch I mentioned in my last email. As I stated, it
>>> only contains fixes for the m32 build, NOT for mx32, as I have not had the
>>> chance to do an mx32 build yet. I can confirm that the build is successful
>>> with this patch, and the system is bootable. I have NOT tested any linking
>>> to the lib32 systemd build, as I have not used any m32 specific software
>>> with this build as of yet. I matched the format and switches from the
>>> non-multilib build and from other lib32 builds throughout the book. The
>>> patch can be applied with git am.
>>> >
>>> > --
>>> > Eric
>>> > > >
>>> Thanks Eric, i applied the patch to ML/systemd and adopted the
>>> instructions
>>> to mx32, too. Removed the xslt thing completely, it seem s indeed
>>> obsolete.
>>>
>>> Thanks again,
>>>
>>> --
>>> Thomas
>>>
>> No problem Thomas. I just adapted the instructions to mx32 as well and
>> started the build up from my last lfs build. I went ahead and removed the
>> CFLAGS/CXXFLAGS as well, I will let you know if it breaks anything on mx32.
>> Also, after I sent the patch, I remembered that util-linux does link
>> against the m32/mx32 libs of systemd. So I can confirm that the m32 changes
>> did indeed work properly. As I said, I'll report back on mx32 once the
>> build finishes and I can verify it boots properly.
>>
>> --
>> Eric
>>
> Just verified that the ml_all build was a success, and does boot
> successfully. Removing the CFLAGS/CXXFLAGS and fixing the meson switches
> for mx32 had no negative impact that I have seen. I will attach my SBU_DU
> report, along with the final patch I created to fix the mx32 side of the
> build.
>

In further testing of the ml_all build, I did run into a slight issue with
the updated systemd instructions. In addition to the libsystemd.so* and
libudev.so*, some packages also expect the pkg_config .pc files to be in
/usr/lib{x}32/pkgconfig. Without the .pc files, it tries to link on the
x86_64 lib and fails due to differing instruction sets. I'm going to put
together a patch for that quick change tomorrow, and I will pass it along
once it's tested.

--
Eric

> --
> Eric
>

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