* [Buildroot] ARC toolchain build failure
@ 2018-06-12 19:33 Thomas Petazzoni
2018-06-13 12:25 ` [Buildroot] [arc-buildroot] " Alexey Brodkin
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2018-06-12 19:33 UTC (permalink / raw)
To: buildroot
Hello,
When trying to build an ARC toolchain with the following defconfig:
BR2_arcle=y
BR2_archs38=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_KERNEL_HEADERS_4_14=y
BR2_BINUTILS_VERSION_2_30_X=y
BR2_GCC_VERSION_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_HOST_GDB=y
BR2_INIT_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_GDB=y
# BR2_TARGET_ROOTFS_TAR is not set
It fails with:
/opt/arcle-hs38--glibc--bleeding-edge-2018.05-1/lib/gcc/arc-buildroot-linux-gnu/8.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: /opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/libKSC.so symbol number 14 references nonexistent SHT_SYMTAB_SHNDX section
/opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/libKSC.so: error adding symbols: No error
collect2: error: ld returned 1 exit status
extra-module.mk:8: recipe for target '/opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/ISO-2022-KR.so' failed
make[3]: *** [/opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/ISO-2022-KR.so] Error 1
During the glibc build. See
https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006369
for more context.
Are you aware of this issue ? Any fix ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [arc-buildroot] ARC toolchain build failure
2018-06-12 19:33 [Buildroot] ARC toolchain build failure Thomas Petazzoni
@ 2018-06-13 12:25 ` Alexey Brodkin
2018-06-13 17:21 ` Alexey Brodkin
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Brodkin @ 2018-06-13 12:25 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Tue, 2018-06-12 at 21:33 +0200, Thomas Petazzoni wrote:
> Hello,
>
> When trying to build an ARC toolchain with the following defconfig:
>
> BR2_arcle=y
> BR2_archs38=y
> BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
> BR2_KERNEL_HEADERS_4_14=y
> BR2_BINUTILS_VERSION_2_30_X=y
> BR2_GCC_VERSION_8_X=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PACKAGE_HOST_GDB=y
> BR2_INIT_NONE=y
> # BR2_PACKAGE_BUSYBOX is not set
> BR2_PACKAGE_GDB=y
> # BR2_TARGET_ROOTFS_TAR is not set
>
> It fails with:
>
> /opt/arcle-hs38--glibc--bleeding-edge-2018.05-1/lib/gcc/arc-buildroot-linux-gnu/8.1.0/../../../../arc-buildroot-linux-gnu/bin/ld:
> /opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/libKSC.so symbol number 14 references nonexistent SHT_SYMTAB_SHNDX section
> /opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/libKSC.so: error adding symbols: No error
> collect2: error: ld returned 1 exit status
> extra-module.mk:8: recipe for target '/opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/ISO-2022-KR.so' failed
> make[3]: *** [/opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/ISO-2022-KR.so] Error 1
>
> During the glibc build. See
> https://urldefense.proofpoint.com/v2/url?u=https-3A__gitlab.com_free-2Delectrons_toolchains-2Dbuilder_-2D_jobs_72006369&d=DwICAg&c=DPL6_X_6JkXFx7AXW
> qB0tg&r=Z74rKOsEpOUneCxYxwKcXHwrAmW8mJhNZjcWnDDJI2U&m=mNYQnvcGH1oc9LtP6AIXFqXjfy3y8Dm5gciItSr4TYc&s=dQ9AvjPPaCcxWSdukgjRHgQlLOQP2qEMuq7S5NSiCWQ&e=
> for more context.
>
> Are you aware of this issue ? Any fix ?
Sorry we were off on a longish holidays here in Russia so only now looking at it.
Still I think I know what's wrong there and will send a patch for Buildroot once
I confirm it fixes this problem.
-Alexey
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [arc-buildroot] ARC toolchain build failure
2018-06-13 12:25 ` [Buildroot] [arc-buildroot] " Alexey Brodkin
@ 2018-06-13 17:21 ` Alexey Brodkin
2018-06-13 19:51 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Brodkin @ 2018-06-13 17:21 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Wed, 2018-06-13 at 15:25 +0300, Alexey Brodkin wrote:
> Hi Thomas,
>
> On Tue, 2018-06-12 at 21:33 +0200, Thomas Petazzoni wrote:
> > Hello,
> >
> > When trying to build an ARC toolchain with the following defconfig:
> >
> > BR2_arcle=y
> > BR2_archs38=y
> > BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
> > BR2_KERNEL_HEADERS_4_14=y
> > BR2_BINUTILS_VERSION_2_30_X=y
> > BR2_GCC_VERSION_8_X=y
> > BR2_TOOLCHAIN_BUILDROOT_CXX=y
> > BR2_PACKAGE_HOST_GDB=y
> > BR2_INIT_NONE=y
> > # BR2_PACKAGE_BUSYBOX is not set
> > BR2_PACKAGE_GDB=y
> > # BR2_TARGET_ROOTFS_TAR is not set
> >
> > It fails with:
> >
> > /opt/arcle-hs38--glibc--bleeding-edge-2018.05-1/lib/gcc/arc-buildroot-linux-gnu/8.1.0/../../../../arc-buildroot-linux-gnu/bin/ld:
> > /opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/libKSC.so symbol number 14 references nonexistent SHT_SYMTAB_SHNDX section
> > /opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/libKSC.so: error adding symbols: No error
> > collect2: error: ld returned 1 exit status
> > extra-module.mk:8: recipe for target '/opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/ISO-2022-KR.so' failed
> > make[3]: *** [/opt/output/build/glibc-arc-2018.03-rc2/build/iconvdata/ISO-2022-KR.so] Error 1
> >
> > During the glibc build. See
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__gitlab.com_free-2Delectrons_toolchains-2Dbuilder_-2D_jobs_72006369&d=DwICAg&c=DPL6_X_6JkXFx7A
> > XW
> > qB0tg&r=Z74rKOsEpOUneCxYxwKcXHwrAmW8mJhNZjcWnDDJI2U&m=mNYQnvcGH1oc9LtP6AIXFqXjfy3y8Dm5gciItSr4TYc&s=dQ9AvjPPaCcxWSdukgjRHgQlLOQP2qEMuq7S5NSiCWQ&e=
> > for more context.
> >
> > Are you aware of this issue ? Any fix ?
>
> Sorry we were off on a longish holidays here in Russia so only now looking at it.
> Still I think I know what's wrong there and will send a patch for Buildroot once
> I confirm it fixes this problem.
Done, see https://patchwork.ozlabs.org/patch/928978/
-Alexey
P.S. That's how you make yourself visible - you know stuff is broken
but wait before somebody bumps into it and start asking for help :)
I mean I knew about that problem and was going to send out patches
but never found enough time to accomplish that, sorry :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [arc-buildroot] ARC toolchain build failure
2018-06-13 17:21 ` Alexey Brodkin
@ 2018-06-13 19:51 ` Thomas Petazzoni
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2018-06-13 19:51 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 13 Jun 2018 17:21:46 +0000, Alexey Brodkin wrote:
> > Sorry we were off on a longish holidays here in Russia so only now looking at it.
> > Still I think I know what's wrong there and will send a patch for Buildroot once
> > I confirm it fixes this problem.
>
> Done, see https://patchwork.ozlabs.org/patch/928978/
Thanks a lot!
> P.S. That's how you make yourself visible - you know stuff is broken
> but wait before somebody bumps into it and start asking for help :)
> I mean I knew about that problem and was going to send out patches
> but never found enough time to accomplish that, sorry :)
Hehe :-)
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-06-13 19:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-12 19:33 [Buildroot] ARC toolchain build failure Thomas Petazzoni
2018-06-13 12:25 ` [Buildroot] [arc-buildroot] " Alexey Brodkin
2018-06-13 17:21 ` Alexey Brodkin
2018-06-13 19:51 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox