Skip to contentSkip to conversation

glibc: fix multilib headers conflict for arm

PATCH Superseded [email protected] 2 participants 3 messages Mar 4, 2024 – Mar 5, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc: fix multilib headers conflict for arm

From: Kai Kang <[email protected]>

The header files conflic when multilib enabled for arm:

| Error: Transaction test error:
| file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of

    lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626-r0.cortexa72

Invoke function oe_multilib_header to resolve it.

---
 meta/recipes-core/glibc/glibc-package.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/glibc/glibc-package.inc +2 -0
index 1ef987be0a..fa085f31d2 100644
@@ -167,6 +167,8 @@ do_install_armmultilib () {
 	oe_multilib_header fpu_control.h gnu/lib-names.h gnu/stubs.h ieee754.h
 
 	oe_multilib_header sys/elf.h sys/procfs.h sys/ptrace.h sys/ucontext.h sys/user.h
+
+	oe_multilib_header finclude/math-vector-fortran.h
 }
 
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 6 lines · Kai Kang

From: Kai Kang <[email protected]>

The header files conflic when multilib enabled for arm:

Quoted 2 lines

Error: Transaction test error:
  file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of

Quoted 8 lines

    lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626-r0.cortexa72

Invoke function oe_multilib_header to resolve it.

---
 meta/recipes-core/glibc/glibc-package.inc | 2 ++

 1 file changed, 2 insertions(+)

It may fix conflicts but it appears to break the fortran compiler:

https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2987/steps/14/logs/stdio

I've not specifically bisected it to this but it does seem most likely.

Cheers,

Richard

author
#2 lore raw
Quoted 15 lines · Richard Purdie
Quoted 6 lines · Kai Kang

From: Kai Kang <[email protected]>

The header files conflic when multilib enabled for arm:

Quoted 2 lines

Error: Transaction test error:
  file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of

Quoted 8 lines

    lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626-r0.cortexa72

Invoke function oe_multilib_header to resolve it.

---
  meta/recipes-core/glibc/glibc-package.inc | 2 ++
  1 file changed, 2 insertions(+)
Quoted 5 lines

It may fix conflicts but it appears to break the fortran compiler:

https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/2987/steps/14/logs/stdio

I've not specifically bisected it to this but it does seem most likely.

OK. I'll figure it out.

Regards,
kai

Quoted 4 lines

Cheers,

Richard

Signature · 2 lines
Kai Kang
Wind River Linux