* undefined reference to `_GLOBAL_OFFSET_TABLE_'
@ 2017-08-20 0:37 kbuild test robot
2017-08-20 3:36 ` Nicholas Piggin
0 siblings, 1 reply; 10+ messages in thread
From: kbuild test robot @ 2017-08-20 0:37 UTC (permalink / raw)
To: Nicholas Piggin; +Cc: kbuild-all, linux-kernel, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
Hi Nicholas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 58d4e450a490d5f02183f6834c12550ba26d3b47
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs
date: 7 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze
All errors (new ones prefixed by >>):
mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 4889 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'
2017-08-20 0:37 undefined reference to `_GLOBAL_OFFSET_TABLE_' kbuild test robot
@ 2017-08-20 3:36 ` Nicholas Piggin
2017-08-22 1:59 ` Fengguang Wu
2017-08-22 9:19 ` Michal Simek
0 siblings, 2 replies; 10+ messages in thread
From: Nicholas Piggin @ 2017-08-20 3:36 UTC (permalink / raw)
To: kbuild test robot
Cc: kbuild-all, linux-kernel, Masahiro Yamada, fengguang.wu,
Michal Simek
On Sun, 20 Aug 2017 08:37:36 +0800
kbuild test robot <fengguang.wu@intel.com> wrote:
> Hi Nicholas,
>
> FYI, the error/warning still remains.
Still same answer as before, i.e., it seems to be this toolchain bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=21017
I've had no response from the microblaze maintainer, so please stop
generating this warning now. If we get a bug report from a user who
actually cares and will test toolchain fixes then we can easily work
with them.
Many thanks for the very good service this build system provides!
Thanks,
Nick
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 58d4e450a490d5f02183f6834c12550ba26d3b47
> commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs
> date: 7 weeks ago
> config: microblaze-allnoconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 799c43415442414b1032580c47684cb709dfed6d
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze
>
> All errors (new ones prefixed by >>):
>
> mm/slub.o: In function `__slab_free.isra.13':
> >> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
> scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'
2017-08-20 3:36 ` Nicholas Piggin
@ 2017-08-22 1:59 ` Fengguang Wu
2017-08-22 9:19 ` Michal Simek
1 sibling, 0 replies; 10+ messages in thread
From: Fengguang Wu @ 2017-08-22 1:59 UTC (permalink / raw)
To: Nicholas Piggin; +Cc: kbuild-all, linux-kernel, Masahiro Yamada, Michal Simek
Hi Nick,
On Sun, Aug 20, 2017 at 01:36:37PM +1000, Nicholas Piggin wrote:
>On Sun, 20 Aug 2017 08:37:36 +0800
>kbuild test robot <fengguang.wu@intel.com> wrote:
>
>> Hi Nicholas,
>>
>> FYI, the error/warning still remains.
>
>Still same answer as before, i.e., it seems to be this toolchain bug:
>
>https://sourceware.org/bugzilla/show_bug.cgi?id=21017
>
>I've had no response from the microblaze maintainer, so please stop
>generating this warning now. If we get a bug report from a user who
>actually cares and will test toolchain fixes then we can easily work
>with them.
OK. I'll ignore this error for now. Sorry for the noise!
>Many thanks for the very good service this build system provides!
You are welcome. :)
Thanks,
Fengguang
>>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: 58d4e450a490d5f02183f6834c12550ba26d3b47
>> commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs
>> date: 7 weeks ago
>> config: microblaze-allnoconfig (attached as .config)
>> compiler: microblaze-linux-gcc (GCC) 6.2.0
>> reproduce:
>> wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>> chmod +x ~/bin/make.cross
>> git checkout 799c43415442414b1032580c47684cb709dfed6d
>> # save the attached .config to linux build tree
>> make.cross ARCH=microblaze
>>
>> All errors (new ones prefixed by >>):
>>
>> mm/slub.o: In function `__slab_free.isra.13':
>> >> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
>> scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
>>
>> ---
>> 0-DAY kernel test infrastructure Open Source Technology Center
>> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'
2017-08-20 3:36 ` Nicholas Piggin
2017-08-22 1:59 ` Fengguang Wu
@ 2017-08-22 9:19 ` Michal Simek
2017-08-22 12:14 ` Nicholas Piggin
1 sibling, 1 reply; 10+ messages in thread
From: Michal Simek @ 2017-08-22 9:19 UTC (permalink / raw)
To: Nicholas Piggin, kbuild test robot
Cc: kbuild-all, linux-kernel, Masahiro Yamada
[-- Attachment #1.1: Type: text/plain, Size: 978 bytes --]
On 20.8.2017 05:36, Nicholas Piggin wrote:
> On Sun, 20 Aug 2017 08:37:36 +0800
> kbuild test robot <fengguang.wu@intel.com> wrote:
>
>> Hi Nicholas,
>>
>> FYI, the error/warning still remains.
>
> Still same answer as before, i.e., it seems to be this toolchain bug:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=21017
>
> I've had no response from the microblaze maintainer, so please stop
> generating this warning now. If we get a bug report from a user who
> actually cares and will test toolchain fixes then we can easily work
> with them.
>
> Many thanks for the very good service this build system provides!
Can you please point me to the log?
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'
2017-08-22 9:19 ` Michal Simek
@ 2017-08-22 12:14 ` Nicholas Piggin
0 siblings, 0 replies; 10+ messages in thread
From: Nicholas Piggin @ 2017-08-22 12:14 UTC (permalink / raw)
To: Michal Simek; +Cc: kbuild test robot, kbuild-all, linux-kernel, Masahiro Yamada
On Tue, 22 Aug 2017 11:19:02 +0200
Michal Simek <monstr@monstr.eu> wrote:
> On 20.8.2017 05:36, Nicholas Piggin wrote:
> > On Sun, 20 Aug 2017 08:37:36 +0800
> > kbuild test robot <fengguang.wu@intel.com> wrote:
> >
> >> Hi Nicholas,
> >>
> >> FYI, the error/warning still remains.
> >
> > Still same answer as before, i.e., it seems to be this toolchain bug:
> >
> > https://sourceware.org/bugzilla/show_bug.cgi?id=21017
> >
> > I've had no response from the microblaze maintainer, so please stop
> > generating this warning now. If we get a bug report from a user who
> > actually cares and will test toolchain fixes then we can easily work
> > with them.
> >
> > Many thanks for the very good service this build system provides!
>
> Can you please point me to the log?
Hmm, don't know if they keep a full log, but the error is
mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
scripts/link-vmlinux.sh: line 93: 48917 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
I suspect the change to thin archives, allowed the linker more
flexibility to satisfy all relocations with GOT relative. And
that would cause the bug.
If you could verify that the upstream kernel build succeeds with
an upstream binutils using allnoconfig, then we could see about
updating the kbuild test robot's toolchain.
Thanks,
Nick
^ permalink raw reply [flat|nested] 10+ messages in thread
* undefined reference to `_GLOBAL_OFFSET_TABLE_'
@ 2017-08-13 1:35 kbuild test robot
0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2017-08-13 1:35 UTC (permalink / raw)
To: Nicholas Piggin; +Cc: kbuild-all, linux-kernel, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
Hi Nicholas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 89a55278dee487b172fb16295ccb2d0b2a1b319b
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs
date: 6 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze
All errors (new ones prefixed by >>):
mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
scripts/link-vmlinux.sh: line 93: 5333 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 4889 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* undefined reference to `_GLOBAL_OFFSET_TABLE_'
@ 2017-08-06 9:47 kbuild test robot
0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2017-08-06 9:47 UTC (permalink / raw)
To: Nicholas Piggin; +Cc: kbuild-all, linux-kernel, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]
Hi Nicholas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0fdd951c9bef93637d5af036851e7a5632fbd6c3
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs
date: 5 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze
All errors (new ones prefixed by >>):
mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
scripts/link-vmlinux.sh: line 93: 113680 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 4889 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* undefined reference to `_GLOBAL_OFFSET_TABLE_'
@ 2017-07-29 23:30 kbuild test robot
0 siblings, 0 replies; 10+ messages in thread
From: kbuild test robot @ 2017-07-29 23:30 UTC (permalink / raw)
To: Nicholas Piggin; +Cc: kbuild-all, linux-kernel, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
Hi Nicholas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0a07b238e5f488b459b6113a62e06b6aab017f71
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs
date: 4 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze
All errors (new ones prefixed by >>):
mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
scripts/link-vmlinux.sh: line 93: 21303 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 4889 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* undefined reference to `_GLOBAL_OFFSET_TABLE_'
@ 2017-07-23 0:20 kbuild test robot
2017-07-23 5:15 ` Nicholas Piggin
0 siblings, 1 reply; 10+ messages in thread
From: kbuild test robot @ 2017-07-23 0:20 UTC (permalink / raw)
To: Nicholas Piggin; +Cc: kbuild-all, linux-kernel, Masahiro Yamada
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
Hi Nicholas,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4b162c530d9c101381500e586fedb1340595a6ff
commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs
date: 3 weeks ago
config: microblaze-allnoconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 799c43415442414b1032580c47684cb709dfed6d
# save the attached .config to linux build tree
make.cross ARCH=microblaze
All errors (new ones prefixed by >>):
mm/slub.o: In function `__slab_free.isra.13':
>> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
scripts/link-vmlinux.sh: line 93: 56533 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 4889 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'
2017-07-23 0:20 kbuild test robot
@ 2017-07-23 5:15 ` Nicholas Piggin
0 siblings, 0 replies; 10+ messages in thread
From: Nicholas Piggin @ 2017-07-23 5:15 UTC (permalink / raw)
To: kbuild test robot; +Cc: kbuild-all, linux-kernel, Masahiro Yamada, Michal Simek
On Sun, 23 Jul 2017 08:20:30 +0800
kbuild test robot <fengguang.wu@intel.com> wrote:
> Hi Nicholas,
>
> FYI, the error/warning still remains.
FYI, I still suspect it is this bug
https://sourceware.org/bugzilla/show_bug.cgi?id=21017
If so, then I'm not sure if it can be worked around in Linux.
Thanks,
Nick
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 4b162c530d9c101381500e586fedb1340595a6ff
> commit: 799c43415442414b1032580c47684cb709dfed6d kbuild: thin archives make default for all archs
> date: 3 weeks ago
> config: microblaze-allnoconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 6.2.0
> reproduce:
> wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 799c43415442414b1032580c47684cb709dfed6d
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze
>
> All errors (new ones prefixed by >>):
>
> mm/slub.o: In function `__slab_free.isra.13':
> >> (.text+0x1038): undefined reference to `_GLOBAL_OFFSET_TABLE_'
> scripts/link-vmlinux.sh: line 93: 56533 Segmentation fault ${LD} ${LDFLAGS} ${LDFLAGS_vmlinux} -o ${2} -T ${lds} ${objects}
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-08-22 12:15 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-20 0:37 undefined reference to `_GLOBAL_OFFSET_TABLE_' kbuild test robot
2017-08-20 3:36 ` Nicholas Piggin
2017-08-22 1:59 ` Fengguang Wu
2017-08-22 9:19 ` Michal Simek
2017-08-22 12:14 ` Nicholas Piggin
-- strict thread matches above, loose matches on Subject: below --
2017-08-13 1:35 kbuild test robot
2017-08-06 9:47 kbuild test robot
2017-07-29 23:30 kbuild test robot
2017-07-23 0:20 kbuild test robot
2017-07-23 5:15 ` Nicholas Piggin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox