Skip to contentSkip to conversation

package/systemd: build fix for systemd v251 and up

PATCH Yann E. MORIN 2 participants 2 messages Jul 19, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Vincent, All,

(your mail did not make it to the list, so maybe you're not (yet?) subscribed?)

On 2022-07-18 14:56 -0400, Vincent Dagonneau spake thusly:

Quoted 8 lines

Commit 52adf0e91ef00d21a2e83f7669d0823667ce6b6c included in systemd v251 removes the efi-cc option. Passing it during building results in the build failing.

I understand that this fix only applies to systemd v250 however I am using buildroot with a systemd built out of master and I found that fix. I hope it is going to be helpful in the future when buildroot transition to v251.

Norbert has very recently posted a bump for v251.3 [0], and I did a review of it. So we should have it soone I hope!

[0] https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 2 lines

I am a happy user of buildroot and I'd be more than happy to contribute some more around systemd in the future.

Cool! :-)

Quoted 10 lines
---
 package/systemd/systemd.mk | 1 -
 1 file changed, 1 deletion(-)
package/systemd/systemd.mk +0 -0
index 46a4e8de2c..f1b421fb80 100644

package/systemd/systemd.mk SYSTEMD_DEPENDENCIES += gnu-efi · line 549

Quoted 4 lines
package/systemd/systemd.mk +0 -1
@@ -546,7 +546,6 @@ SYSTEMD_DEPENDENCIES += gnu-efi
 SYSTEMD_CONF_OPTS += \
 	-Defi=true \
 	-Dgnu-efi=true \
-	-Defi-cc=$(TARGET_CC) \

Since this is required for v250 that we currently have, we can't apply this change for now; it will have to be part of the bump.

Thanks!

Regards,
Yann E. MORIN.

Quoted 6 lines
package/systemd/systemd.mk +0 -0
 	-Defi-ld=bfd \
 	-Defi-libdir=$(STAGING_DIR)/usr/lib \
 	-Defi-includedir=$(STAGING_DIR)/usr/include/efi
Signature · 1 line
2.36.1
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 31 lines · Yann E. MORIN

Vincent, All,

(your mail did not make it to the list, so maybe you're not (yet?) subscribed?)

On 2022-07-18 14:56 -0400, Vincent Dagonneau spake thusly:

Quoted 8 lines

Commit 52adf0e91ef00d21a2e83f7669d0823667ce6b6c included in systemd v251 removes the efi-cc option. Passing it during building results in the build failing.

I understand that this fix only applies to systemd v250 however I am using buildroot with a systemd built out of master and I found that fix. I hope it is going to be helpful in the future when buildroot transition to v251.

Norbert has very recently posted a bump for v251.3 [0], and I did a review of it. So we should have it soone I hope!

[0] https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 2 lines

I am a happy user of buildroot and I'd be more than happy to contribute some more around systemd in the future.

Cool! :-)

Quoted 5 lines
---
 package/systemd/systemd.mk | 1 -
 1 file changed, 1 deletion(-)
Quoted 12 lines

package/systemd/systemd.mk SYSTEMD_DEPENDENCIES += gnu-efi · line 549

Quoted 9 lines
package/systemd/systemd.mk +0 -1
index 46a4e8de2c..f1b421fb80 100644
@@ -546,7 +546,6 @@ SYSTEMD_DEPENDENCIES += gnu-efi
 SYSTEMD_CONF_OPTS += \
      -Defi=true \
      -Dgnu-efi=true \
-     -Defi-cc=$(TARGET_CC) \

Since this is required for v250 that we currently have, we can't apply this change for now; it will have to be part of the bump.

Yeah, I had applied that as part of my bump patch:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 19 lines

Thanks!

Regards,
Yann E. MORIN.

Quoted 6 lines
package/systemd/systemd.mk +0 -1
      -Defi-ld=bfd \
      -Defi-libdir=$(STAGING_DIR)/usr/lib \
      -Defi-includedir=$(STAGING_DIR)/usr/include/efi
--

2.36.1

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
Quoted 5 lines

'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot