* [Buildroot] [Bug 10276] BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation"
2017-08-30 5:38 [Buildroot] [Bug 10276] New: BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation" bugzilla at busybox.net
@ 2017-08-30 8:32 ` bugzilla at busybox.net
2017-08-30 17:55 ` bugzilla at busybox.net
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-08-30 8:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10276
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Could you try to adapt https://patchwork.ozlabs.org/patch/729154/ to the gpio
linux-tools package, and see if it works for you ?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 10276] BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation"
2017-08-30 5:38 [Buildroot] [Bug 10276] New: BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation" bugzilla at busybox.net
2017-08-30 8:32 ` [Buildroot] [Bug 10276] " bugzilla at busybox.net
@ 2017-08-30 17:55 ` bugzilla at busybox.net
2017-08-30 18:05 ` bugzilla at busybox.net
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-08-30 17:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10276
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |
Status|NEW |ASSIGNED
CC| |yann.morin.1998 at free.fr
--- Comment #2 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Given the following:
CC gpio-utils.o
LD gpio-event-mon-in.o
gpio-utils.o: file not recognized: File truncated
/data/git/buildroot/output/build/linux-4.11.3/tools/build/Make
file.build:149: recipe for target 'gpio-event-mon-in.o' failed
it looks like it might be a parallel build issue, where gpio-event-mon-in.o
needs gpio-utils.o, but it is not yet built.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 10276] BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation"
2017-08-30 5:38 [Buildroot] [Bug 10276] New: BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation" bugzilla at busybox.net
2017-08-30 8:32 ` [Buildroot] [Bug 10276] " bugzilla at busybox.net
2017-08-30 17:55 ` bugzilla at busybox.net
@ 2017-08-30 18:05 ` bugzilla at busybox.net
2017-08-30 19:06 ` bugzilla at busybox.net
2024-06-15 14:47 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-08-30 18:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10276
--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Well, I'm pretty sure its the issue fixed for perf by
https://patchwork.ozlabs.org/patch/729154/. When ld is used directly for
linking, it needs to be explicitly told the endianness.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 10276] BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation"
2017-08-30 5:38 [Buildroot] [Bug 10276] New: BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation" bugzilla at busybox.net
` (2 preceding siblings ...)
2017-08-30 18:05 ` bugzilla at busybox.net
@ 2017-08-30 19:06 ` bugzilla at busybox.net
2024-06-15 14:47 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2017-08-30 19:06 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10276
--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thomas, I can very easily reproduce the truncated file issue, and it
indeed always happen with parallel builds, but not always.
And I can even reproduce it in a native build, on Linus' linux master:
$ make -j1000
mkdir -p include/linux 2>&1 || true
ln -sf /home/ymorin/dev/linux/linux/tools/gpio/../../include/uapi/linux/gpio.h
include/linux/gpio.h
make -f /home/ymorin/dev/linux/linux/tools/build/Makefile.build dir=.
obj=lsgpio
make -f /home/ymorin/dev/linux/linux/tools/build/Makefile.build dir=.
obj=gpio-hammer
make -f /home/ymorin/dev/linux/linux/tools/build/Makefile.build dir=.
obj=gpio-event-mon
make[1]: Entering directory '/home/ymorin/dev/linux/linux/tools/gpio'
make[1]: Entering directory '/home/ymorin/dev/linux/linux/tools/gpio'
make[1]: Entering directory '/home/ymorin/dev/linux/linux/tools/gpio'
CC gpio-event-mon.o
CC lsgpio.o
CC gpio-hammer.o
CC gpio-utils.o
CC gpio-utils.o
CC gpio-utils.o
gpio-event-mon.c: In function ?monitor_device?:
gpio-event-mon.c:100:19: warning: format ?%lu? expects argument of type ?long
unsigned int?, but argument 3 has type ?__u64 {aka long long unsigned int}?
[-Wformat=]
fprintf(stdout, "GPIO EVENT %" PRIu64 ": ", event.timestamp);
^~~~~~~~~~~~~~
LD gpio-event-mon-in.o
gpio-utils.o: file not recognized: File truncated
/home/ymorin/dev/linux/linux/tools/build/Makefile.build:143: recipe for target
'gpio-event-mon-in.o' failed
make[1]: *** [gpio-event-mon-in.o] Error 1
make[1]: Leaving directory '/home/ymorin/dev/linux/linux/tools/gpio'
Makefile:58: recipe for target 'gpio-event-mon-in.o' failed
make: *** [gpio-event-mon-in.o] Error 2
make: *** Waiting for unfinished jobs....
LD lsgpio-in.o
make[1]: Leaving directory '/home/ymorin/dev/linux/linux/tools/gpio'
LD gpio-hammer-in.o
make[1]: Leaving directory '/home/ymorin/dev/linux/linux/tools/gpio'
Yet, you are right that there is also (and more importantly) a
problem with using ld instead of gcc.
So, there are two issues in one. ;-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread* [Buildroot] [Bug 10276] BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation"
2017-08-30 5:38 [Buildroot] [Bug 10276] New: BR2_PACKAGE_LINUX_TOOLS_GPIO fails for MIPS with "gpio-hammer.o: ABI is incompatible with that of the selected emulation" bugzilla at busybox.net
` (3 preceding siblings ...)
2017-08-30 19:06 ` bugzilla at busybox.net
@ 2024-06-15 14:47 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2024-06-15 14:47 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=10276
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|ASSIGNED |RESOLVED
--- Comment #5 from Yann E. MORIN <yann.morin.1998@free.fr> ---
THank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread