glibc: fix multilib headers conflict for arm
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
@@ -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
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.hconflicts 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_headerto resolve it.Signed-off-by Kai Kang <[email protected]>---
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
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.hconflicts between attempted installs ofQuoted 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_headerto resolve it.Signed-off-by Kai Kang <[email protected]>--- 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