[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: AW: segfaults with ver 1.10.0 on sh3 based board
From: "EXTERNAL Tetz Torsten (Praktikant;
Date: 2008-03-31 15:58:31
Message-ID: F6E0DC7B316B5342918DD39721EE25B10228974A () si-mail07 ! de ! bosch ! com
[Download RAW message or body]
Hello,
I tested and found out that even "true" and "false" cause segfaults
on my sh3 based board.
But now I have build a 1.10.0 with the CONFIG_STATIC=y option
and that one is working with no segfaults at all.
So the problem here seems to be something with the shared libraries.
I made sure that my previous tests with the working 1.1.3 version of
busybox were build with CONFIG_STATIC not set.
Regards,
Torsten
-----Ursprüngliche Nachricht-----
Von: Denys Vlasenko [mailto:vda.linux@googlemail.com]
Gesendet: Montag, 31. März 2008 16:59
An: busybox@busybox.net; WHarms@bfs.de
Cc: EXTERNAL Tetz Torsten (Praktikant; ST-FIR/ENG1); Jonas Mark (ST-FIR/ENG1)
Betreff: Re: segfaults with ver 1.10.0 on sh3 based board
On Monday 31 March 2008 11:23, walter harms wrote:
> hi,
> there is know issue with some gcc version and the bb handling of globals.
> example this construct from httpd.c: (it is used to support non-mmu systems).
>
>
> #define INIT_G() do { \
> SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
> USE_FEATURE_HTTPD_BASIC_AUTH(g_realm = "Web Server Authentication";) \
> bind_addr_or_port = "80"; \
> index_page = "index.html"; \
> file_size = -1; \
> } while (0)
>
> you may try a version before this type of changes (1.7 ?) to make sure.
> please post you solution to this list.
>
> EXTERNAL Tetz Torsten (Praktikant; ST-FIR/ENG1) wrote:
> > Hello,
> >
> > I try to use Busybox version 1.10.0 on a sh3 based board under Linux and
> > always get "Segmentation fault" when I call "/bin/busybox" or any link
> > to it.
Not every applet uses "globals" trick. If indeed every applet segfaults
(even simplest ones like "true" and "false"), it must be something different.
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic