Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1351413 > unrolled thread
| Started by | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| First post | 2016-03-07 10:10 +0100 |
| Last post | 2016-03-08 15:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Build regressions/improvements in v4.5-rc7 Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-07 10:10 +0100
Re: Build regressions/improvements in v4.5-rc7 James Hogan <james.hogan@imgtec.com> - 2016-03-08 15:40 +0100
| From | Geert Uytterhoeven <geert@linux-m68k.org> |
|---|---|
| Date | 2016-03-07 10:10 +0100 |
| Subject | Re: Build regressions/improvements in v4.5-rc7 |
| Message-ID | <r9ZkS-QT-7@gated-at.bofh.it> |
On Mon, Mar 7, 2016 at 9:55 AM, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> JFYI, when comparing v4.5-rc7[1] to v4.5-rc6[3], the summaries are:
> - build errors: +8/-7
+ error: debugfs.c: undefined reference to `clk_round_rate': =>
.text+0x11b9e0)
arm-randconfig
While looking for more context, I noticed another regression that fell through
the cracks of my script:
arch/arm/kernel/head.o: In function `stext':
(.head.text+0x40): undefined reference to `CONFIG_PHYS_OFFSET'
drivers/built-in.o: In function `v4l2_clk_set_rate':
debugfs.c:(.text+0x11b9e0): undefined reference to `clk_round_rate'
+ error: misc.c: undefined reference to `ftrace_likely_update': =>
.text+0x714), .text+0x94c), .text+0x3b8), .text+0xc10)
sh-randconfig
arch/sh/boot/compressed/misc.o: In function `lzo1x_decompress_safe':
misc.c:(.text+0x3b8): undefined reference to `ftrace_likely_update'
misc.c:(.text+0x714): undefined reference to `ftrace_likely_update'
misc.c:(.text+0x94c): undefined reference to `ftrace_likely_update'
arch/sh/boot/compressed/misc.o: In function `unlzo.constprop.2':
misc.c:(.text+0xc10): undefined reference to `ftrace_likely_update'
+ /tmp/cc52LvuK.s: Error: can't resolve `_start' {*UND* section} -
`L0^A' {.text section}: => 41, 403
+ /tmp/ccHfoDA4.s: Error: can't resolve `_start' {*UND* section} -
`L0^A' {.text section}: => 43
+ /tmp/cch1r0UQ.s: Error: can't resolve `_start' {*UND* section} -
`L0^A' {.text section}: => 49, 378
+ /tmp/ccoHdFI8.s: Error: can't resolve `_start' {*UND* section} -
`L0^A' {.text section}: => 43
mips-allnoconfig
bigsur_defconfig
malta_defconfig
cavium_octeon_defconfig
Not really new, but it would be great if the MIPS people could get this
fixed for the final release.
Thanks!
> [1] http://kisskb.ellerman.id.au/kisskb/head/10011/ (all 262 configs)
> [3] http://kisskb.ellerman.id.au/kisskb/head/9974/ (all 262 configs)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
[toc] | [next] | [standalone]
| From | James Hogan <james.hogan@imgtec.com> |
|---|---|
| Date | 2016-03-08 15:40 +0100 |
| Message-ID | <raqXM-25J-21@gated-at.bofh.it> |
| In reply to | #1351413 |
[Multipart message — attachments visible in raw view] — view raw
Hi,
On Mon, Mar 07, 2016 at 10:01:09AM +0100, Geert Uytterhoeven wrote:
> On Mon, Mar 7, 2016 at 9:55 AM, Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > JFYI, when comparing v4.5-rc7[1] to v4.5-rc6[3], the summaries are:
> > - build errors: +8/-7
> + error: debugfs.c: undefined reference to `clk_round_rate': =>
> .text+0x11b9e0)
>
> arm-randconfig
>
> While looking for more context, I noticed another regression that fell through
> the cracks of my script:
>
> arch/arm/kernel/head.o: In function `stext':
> (.head.text+0x40): undefined reference to `CONFIG_PHYS_OFFSET'
> drivers/built-in.o: In function `v4l2_clk_set_rate':
> debugfs.c:(.text+0x11b9e0): undefined reference to `clk_round_rate'
>
> + error: misc.c: undefined reference to `ftrace_likely_update': =>
> .text+0x714), .text+0x94c), .text+0x3b8), .text+0xc10)
>
> sh-randconfig
>
> arch/sh/boot/compressed/misc.o: In function `lzo1x_decompress_safe':
> misc.c:(.text+0x3b8): undefined reference to `ftrace_likely_update'
> misc.c:(.text+0x714): undefined reference to `ftrace_likely_update'
> misc.c:(.text+0x94c): undefined reference to `ftrace_likely_update'
> arch/sh/boot/compressed/misc.o: In function `unlzo.constprop.2':
> misc.c:(.text+0xc10): undefined reference to `ftrace_likely_update'
>
> + /tmp/cc52LvuK.s: Error: can't resolve `_start' {*UND* section} -
> `L0^A' {.text section}: => 41, 403
> + /tmp/ccHfoDA4.s: Error: can't resolve `_start' {*UND* section} -
> `L0^A' {.text section}: => 43
> + /tmp/cch1r0UQ.s: Error: can't resolve `_start' {*UND* section} -
> `L0^A' {.text section}: => 49, 378
> + /tmp/ccoHdFI8.s: Error: can't resolve `_start' {*UND* section} -
> `L0^A' {.text section}: => 43
>
> mips-allnoconfig
> bigsur_defconfig
> malta_defconfig
> cavium_octeon_defconfig
>
> Not really new, but it would be great if the MIPS people could get this
> fixed for the final release.
This would appear to be related to the ld version check for VDSO
failing.
awk: /home/kisskb/slave/src/scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
.*)
/bin/sh: 1: [: -lt: unexpected operator
I.e. this line:
gsub(".*)", "");
appears to be trying to turn e.g. "GNU ld (Gentoo 2.25.1 p1.1) 2.25.1"
into " 2.25.1", so perhaps the bracket should be escaped. What version
of awk is it using? (GNU Awk 4.0.2 works for me).
Can somebody experiencing this please try:
${CROSS_COMPILE}ld --version | ./scripts/ld-version.sh
with the following patch, to see if it helps.
Thanks
James
diff --git a/scripts/ld-version.sh b/scripts/ld-version.sh
index 198580d245e0..1659b409ef10 100755
--- a/scripts/ld-version.sh
+++ b/scripts/ld-version.sh
@@ -1,7 +1,7 @@
#!/usr/bin/awk -f
# extract linker version number from stdin and turn into single number
{
- gsub(".*)", "");
+ gsub(".*\\)", "");
split($1,a, ".");
print a[1]*10000000 + a[2]*100000 + a[3]*10000 + a[4]*100 + a[5];
exit
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web