(NULL, tz);
#endif
if (ret)
bb_simple_perror_msg_and_die("settimeofday");
}
I am not sure whether this is a Busybox problem or a musl problem,
which is why I'm cross-posting on both mailing lists.
Thanks a lot in advance for your feedback,
Thomas
--
Thomas Petazzon
(NULL, tz);
#endif
if (ret)
bb_simple_perror_msg_and_die("settimeofday");
}
I am not sure whether this is a Busybox problem or a musl problem,
which is why I'm cross-posting on both mailing lists.
Thanks a lot in advance for your feedback,
Thomas
--
Thomas Petazzon
www.uclibc.org domain (or the server itself) to it.
Cc'ing Waldemar, who maintains uClibc-ng.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
___
busybox mailing list
bu
ibc-ng is alive at https://uclibc-ng.org/. Regular releases
(actually more regular than musl in recent months!), updated web site,
responsive maintainer, lots of cleanup in the code base, and QA effort.
So saying that uClibc is dead is completely incorrect.
Best regards,
Thomas
--
Thomas Petaz
]: *** Waiting for unfinished jobs
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo
t; > 0 4
> >
> > So the size is only 0x21c.
> >
> > Any idea on how to investigate this further?
>
> I think what happens is compiler does not know where applet_names[] are,
> assumes it's in another library and generates a reloc.
> Then, the "short" fpic reloc does not work at link time.
And so, from there? Is it a compiler bug?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
___
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
he 8 KB limit detailed in gcc's documentation about
-fpic vs. -fPIC:
$ ./output/host/usr/bin/sparc-linux-readelf -a
output/target/lib/libbusybox.so.1.26.2 | grep "\.got"
[17] .got PROGBITS000dc000 0cc000 00021c 04 WA 0 0 4
So the size is only 0x21c.
Any idea
reach this limit, and we hit
it when building Busybox on SPARC/SPARC64 with the
CONFIG_BUILD_LIBBUSYBOX=y option enabled.
Therefore, this commit redefines ARCH_FPIC as -fPIC on sparc and
sparc64 to solve this issue.
Signed-off-by: Thomas Petazzoni <thomas.petazz...@free-electrons.com>
---
Makefile.flags contains:
ARCH_FPIC ?= -fpic
ARCH_FPIE ?= -fpie
However, arch/$(ARCH)/Makefile gets included *after* Makefile.flags,
and therefore doesn't get the chance to provide its own value.
Fix this by including arch/$(ARCH)/Makefile *before* Makefile.flags.
Signed-off-by: Thomas
le init function was executed but
failed (in which case we don't want to fall back on init module) from
the cases where finit_module() failed because the module was
compressed, or any other issue not related to the module init function
failing.
Ideas?
Thanks,
Thomas
--
Thomas Petazzoni, CTO,
on STM32 platforms. You could give it a try,
it builds a working uClibc-ng based toolchain and Busybox.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
___
busy
+ fi
else
if [ $2 = --hardlinks ]; then
bb_path=$prefix/bin/busybox
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
___
busybox
/libbb.h:40:0,
Warning: #warning redirecting incorrect #include sys/poll.h to poll.h
[-Wcpp]
I think this was fixed in Busybox recently.
Yes, see
http://git.buildroot.net/busybox/commit/?id=af4f0e48eccd1ab1abe361bb70960a8b73775722
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux
Hello,
The musl C library, available from www.musl-libc.org is an alternative
C library. The following three patches fix some warnings or build
failures when building Busybox against the musl C library.
Best regards,
Thomas
Thomas Petazzoni (3):
libbb: use poll.h instead of sys/poll.h
The musl C library doesn't provide the net/if_slip.h since userspace
applications can just as well use the linux/if_slip.h kernel header.
This commit fixes the build of the ifconfig applet with the musl C
library.
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
with the musl C library.
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
networking/libiproute/iplink.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index bad2017..32ccb1c 100644
-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
include/libbb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/libbb.h b/include/libbb.h
index e520060..f03f454 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -37,7 +37,7 @@
#include libgen.h
tag, because I needed those patches to integrate the musl support in
Buildroot.
Would it be possible to get the poll.h fix merged as well?
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
is concerned, autotools-based or
CMake-based packages are *way* much easier to handle than any
hand-written build system.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
/passwd.c:104:16: warning: unused variable ‘rlimit_fsize’
[-Wunused-variable]
...
miscutils/time.c:23:16: error: field ‘ru’ has incomplete type
Fix this by including sys/resource.h.
Signed-off-by: Markus Trippelsdorf mar...@trippelsdorf.de
Acked-by: Thomas Petazzoni thomas.petazz...@free
you need. My favorite is Buildroot, but there
are plenty of others: PTXdist, OpenEmbedded, Yocto, and more.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
...
Sending select for 192.168.0.14...
Sending discover for 192.168.0.14...
[...]
Is it my understanding of the -r option that is incorrect, or the
behavior of udhcpc ?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training
httpd config
file:
*.php:/path/to/your/php
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
___
busybox mailing list
busybox@busybox.net
The environment variable containing the IP address allocated by zcip
is ip and not IP.
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
examples/zcip.script |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/zcip.script b/examples
24 matches
Mail list logo