Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] glibc: fix multilib headers conflict for arm
@ 2024-03-04  1:12 kai.kang
  2024-03-04 17:00 ` [OE-core] " Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: kai.kang @ 2024-03-04  1:12 UTC (permalink / raw)
  To: openembedded-core

From: Kai Kang <kai.kang@windriver.com>

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.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/recipes-core/glibc/glibc-package.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
index 1ef987be0a..fa085f31d2 100644
--- a/meta/recipes-core/glibc/glibc-package.inc
+++ b/meta/recipes-core/glibc/glibc-package.inc
@@ -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
 }
 
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] glibc: fix multilib headers conflict for arm
  2024-03-04  1:12 [PATCH] glibc: fix multilib headers conflict for arm kai.kang
@ 2024-03-04 17:00 ` Richard Purdie
  2024-03-05  1:23   ` Kai
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2024-03-04 17:00 UTC (permalink / raw)
  To: Kai Kang, openembedded-core

On Mon, 2024-03-04 at 09:12 +0800, Kai Kang wrote:
> From: Kai Kang <kai.kang@windriver.com>
> 
> 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.
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [PATCH] glibc: fix multilib headers conflict for arm
  2024-03-04 17:00 ` [OE-core] " Richard Purdie
@ 2024-03-05  1:23   ` Kai
  0 siblings, 0 replies; 3+ messages in thread
From: Kai @ 2024-03-05  1:23 UTC (permalink / raw)
  To: Richard Purdie, Kai Kang, openembedded-core

On 3/5/24 01:00, Richard Purdie wrote:
> On Mon, 2024-03-04 at 09:12 +0800, Kai Kang wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> 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.
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>>   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.

OK. I'll figure it out.

Regards,
kai

>
> Cheers,
>
> Richard


-- 
Kai Kang
Wind River Linux



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-05  1:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04  1:12 [PATCH] glibc: fix multilib headers conflict for arm kai.kang
2024-03-04 17:00 ` [OE-core] " Richard Purdie
2024-03-05  1:23   ` Kai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox