Re: [OpenWrt-Devel] sysupgrade crashing

2011-06-17 Thread D.S. Ljungmark
On Thu, 2011-06-16 at 19:49 +0200, Ithamar R. Adema wrote:
 Hi,
 
 On Thu, 2011-06-16 at 12:21 +0200, Jo-Philipp Wich wrote:
  Maybe calling reboot at all is not such a great idea as it attempts
  to run the (former) init scripts to stop them. 
 
 Maybe using we should use 'reboot -f' here, as that will skip all
 userland 'shutdown' handling and simply call the kernel side reboot
 handler?
 
 This *should* flush all disk cache and such, so still be safe from that
 point, but keep us out of the usual 'init' handling


That does sound like a good idea, especially as I suspect part of the
reason that the systems crash is because the mountedactive filesystem
just disappeared, and that the pages of the files needed were  not in
active RAM.   It basically looks as if things are attempting to execute
pure garbage (Not too surprising, really)

//D.S.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Compiling error after using glibc

2011-06-17 Thread Pawel Pastuszak
Hi gents,

I getting an hotplug complie error after i compiled the gcc 4.4.5 toolcahin
with glibc 2.6.1, please not this is a trunk check out

PS. I am using Ubuntu 10.10.


make[3]: Entering directory `/openwrt_trunk-glibc/package/hotplug2'
. /openwrt_trunk-glibc/include/shell.sh; .
/openwrt_trunk-glibc/include/shell.sh; gzip -dc
/openwrt_trunk-glibc/dl/hotplug2-201.tar.gz | /bin/tar -C
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/..
-xf -

Applying ./patches/100-env_memleak.patch using plaintext:
patching file action.c

Applying ./patches/110-static_worker.patch using plaintext:
patching file common.mak
patching file Makefile

Applying ./patches/120-sysfs_path_fix.patch using plaintext:
patching file rules/command.c

Applying ./patches/130-cancel_download_fix.patch using plaintext:
patching file rules/command.c

Applying ./patches/140-worker_fork_fix.patch using plaintext:
patching file action.c
patching file action.h
patching file workers/worker_fork.c

Applying ./patches/150-force_fork_slow.patch using plaintext:
patching file workers/worker_fork.c

Applying ./patches/160-event_block_fix.patch using plaintext:
patching file uevent.c
patching file workers/worker_fork.c
patching file workers/worker_fork.h

Applying ./patches/170-non_fatal_include.patch using plaintext:
patching file parser/parser.c
touch
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/.prepared_a0868ae0da52f806357cd4d656bea207
(cd
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/./;
if [ -x ./configure ]; then /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/
-name config.guess | xargs -r chmod u+w; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/
-name config.guess | xargs -r -n1 cp
/openwrt_trunk-glibc/scripts/config.guess; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/
-name config.sub | xargs -r chmod u+w; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/
-name config.sub | xargs -r -n1 cp /openwrt_trunk-glibc/scripts/config.sub;
AR=powerpc-openwrt-linux-gnu-ar AS=powerpc-openwrt-linux-gnu-gcc -c -Os
-pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float
LD=powerpc-openwrt-linux-gnu-ld NM=powerpc-openwrt-linux-gnu-nm
CC=powerpc-openwrt-linux-gnu-gcc GCC=powerpc-openwrt-linux-gnu-gcc
CXX=powerpc-openwrt-linux-gnu-g++ RANLIB=powerpc-openwrt-linux-gnu-ranlib
STRIP=powerpc-openwrt-linux-gnu-strip
OBJCOPY=powerpc-openwrt-linux-gnu-objcopy
OBJDUMP=powerpc-openwrt-linux-gnu-objdump
SIZE=powerpc-openwrt-linux-gnu-size CFLAGS=-Os -pipe -fno-caller-saves
-mcpu=440 -fhonour-copts -msoft-float  CXXFLAGS=-Os -pipe
-fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float 
CPPFLAGS=-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include

LDFLAGS=-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/lib
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
   ./configure --target=powerpc-openwrt-linux --host=powerpc-openwrt-linux
--build=i686-linux-gnu --program-prefix= --program-suffix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
--localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   ;
fi; )
touch
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/.configured_
CFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include
 CXXFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
-msoft-float
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include

LDFLAGS=-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/lib
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
 make -j1 -C

Re: [OpenWrt-Devel] Compiling error after using glibc

2011-06-17 Thread Emmanuel Deloget

On 06/17/2011 04:39 PM, Pawel Pastuszak wrote:

Hi gents,

I getting an hotplug complie error after i compiled the gcc 4.4.5 
toolcahin with glibc 2.6.1, please not this is a trunk check out


PS. I am using Ubuntu 10.10.


snip


udevtrigger.c:(.text+0x538): undefined reference to `strlcpy'
udevtrigger.c:(.text+0x548): undefined reference to `strlcat'


Problem has been identified (seehttps://dev.openwrt.org/ticket/9012) and 
Mika Laitio provided a patch on this list. See : 
https://lists.openwrt.org/pipermail/openwrt-devel/2011-June/011138.html


See also 
https://lists.openwrt.org/pipermail/openwrt-devel/2011-June/011137.html 
for other problems that are related to glibc/eglibc.


Best regards,

-- Emmanuel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Compiling error after using glibc

2011-06-17 Thread Mirko Vogt

Hello Pawel,

this issue is related to: https://dev.openwrt.org/ticket/9012

Attached patch should solve the issue - please report if it does the 
job.


Cheers

mirko


On Fri, 17 Jun 2011 10:39:26 -0400, Pawel Pastuszak wrote:

Hi gents,

I getting an hotplug complie error after i compiled the gcc 4.4.5
toolcahin with glibc 2.6.1, please not this is a trunk check out

PS. I am using Ubuntu 10.10.

make[3]: Entering directory `/openwrt_trunk-glibc/package/hotplug2
 . /openwrt_trunk-glibc/include/shell.sh; .
/openwrt_trunk-glibc/include/shell.sh; gzip -dc
/openwrt_trunk-glibc/dl/hotplug2-201.tar.gz | /bin/tar -C

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/..
-xf -

Applying ./patches/100-env_memleak.patch using plaintext:
patching file action.c

Applying ./patches/110-static_worker.patch using plaintext:
patching file common.mak
patching file Makefile

Applying ./patches/120-sysfs_path_fix.patch using plaintext:
 patching file rules/command.c

Applying ./patches/130-cancel_download_fix.patch using plaintext:
patching file rules/command.c

Applying ./patches/140-worker_fork_fix.patch using plaintext:
patching file action.c
 patching file action.h
patching file workers/worker_fork.c

Applying ./patches/150-force_fork_slow.patch using plaintext:
patching file workers/worker_fork.c

Applying ./patches/160-event_block_fix.patch using plaintext:
 patching file uevent.c
patching file workers/worker_fork.c
patching file workers/worker_fork.h

Applying ./patches/170-non_fatal_include.patch using plaintext:
patching file parser/parser.c
touch

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/.prepared_a0868ae0da52f806357cd4d656bea207
 (cd

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/./;
if [ -x ./configure ]; then /usr/bin/find

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/
-name config.guess | xargs -r chmod u+w; /usr/bin/find

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/
-name config.guess | xargs -r -n1 cp
/openwrt_trunk-glibc/scripts/config.guess; /usr/bin/find

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/
-name config.sub | xargs -r chmod u+w; /usr/bin/find

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/
-name config.sub | xargs -r -n1 cp
/openwrt_trunk-glibc/scripts/config.sub;
AR=powerpc-openwrt-linux-gnu-ar AS=powerpc-openwrt-linux-gnu-gcc -c
-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float
LD=powerpc-openwrt-linux-gnu-ld NM=powerpc-openwrt-linux-gnu-nm
CC=powerpc-openwrt-linux-gnu-gcc 
GCC=powerpc-openwrt-linux-gnu-gcc

CXX=powerpc-openwrt-linux-gnu-g++
RANLIB=powerpc-openwrt-linux-gnu-ranlib
STRIP=powerpc-openwrt-linux-gnu-strip
OBJCOPY=powerpc-openwrt-linux-gnu-objcopy
OBJDUMP=powerpc-openwrt-linux-gnu-objdump
SIZE=powerpc-openwrt-linux-gnu-size CFLAGS=-Os -pipe
-fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float 
CXXFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
-msoft-float 

CPPFLAGS=-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include

-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include

-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include


LDFLAGS=-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/lib

-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/lib

-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
   ./configure --target=powerpc-openwrt-linux
--host=powerpc-openwrt-linux --build=i686-linux-gnu
--program-prefix= --program-suffix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
--localstatedir=/var --mandir=/usr/man --infodir=/usr/info
--disable-nls   ; fi; )
 touch

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/.configured_
CFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
-msoft-float 

-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include

-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include

-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include
 CXXFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
-msoft-float 

-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include

-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include

-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include


LDFLAGS=-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib

Re: [OpenWrt-Devel] Facilitating collaboration -- the labor exchange

2011-06-17 Thread Jonathan Bennett
Phillip,
What would be the advantage of ipsec over OpenVPN?

In my experience, if you have Asterisk deployed, the call is
routed through Asterisk, which handles the Nat traversal fairly well.
Are you describing a sip re-invite, where the local phone connects
directly to the remote end?

~Jonathan Bennett
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Compiling error after using glibc

2011-06-17 Thread Pawel Pastuszak
Thanks guys for the support the last patch did the trick to compile
everything.

Do you think i should include this patch also or is it unneeded

https://dev.openwrt.org/attachment/ticket/9012/hotplug2.patch

Pawel

On Fri, Jun 17, 2011 at 11:31 AM, Mirko Vogt li...@nanl.de wrote:

 Hello Pawel,

 this issue is related to: 
 https://dev.openwrt.org/**ticket/9012https://dev.openwrt.org/ticket/9012

 Attached patch should solve the issue - please report if it does the job.

 Cheers

 mirko



 On Fri, 17 Jun 2011 10:39:26 -0400, Pawel Pastuszak wrote:

 Hi gents,

 I getting an hotplug complie error after i compiled the gcc 4.4.5
 toolcahin with glibc 2.6.1, please not this is a trunk check out

 PS. I am using Ubuntu 10.10.

 make[3]: Entering directory `/openwrt_trunk-glibc/package/**hotplug2
  . /openwrt_trunk-glibc/include/**shell.sh; .
 /openwrt_trunk-glibc/include/**shell.sh; gzip -dc
 /openwrt_trunk-glibc/dl/**hotplug2-201.tar.gz | /bin/tar -C

 /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
 1/hotplug2-201/..
 -xf -

 Applying ./patches/100-env_memleak.**patch using plaintext:
 patching file action.c

 Applying ./patches/110-static_worker.**patch using plaintext:
 patching file common.mak
 patching file Makefile

 Applying ./patches/120-sysfs_path_fix.**patch using plaintext:
  patching file rules/command.c

 Applying ./patches/130-cancel_download_**fix.patch using plaintext:
 patching file rules/command.c

 Applying ./patches/140-worker_fork_fix.**patch using plaintext:
 patching file action.c
  patching file action.h
 patching file workers/worker_fork.c

 Applying ./patches/150-force_fork_slow.**patch using plaintext:
 patching file workers/worker_fork.c

 Applying ./patches/160-event_block_fix.**patch using plaintext:
  patching file uevent.c
 patching file workers/worker_fork.c
 patching file workers/worker_fork.h

 Applying ./patches/170-non_fatal_**include.patch using plaintext:
 patching file parser/parser.c
 touch

 /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
 1/hotplug2-201/.prepared_**a0868ae0da52f806357cd4d656bea2**07
  (cd

 /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
 1/hotplug2-201/./;
 if [ -x ./configure ]; then /usr/bin/find

 /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
 1/hotplug2-201/
 -name config.guess | xargs -r chmod u+w; /usr/bin/find

 /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
 1/hotplug2-201/
 -name config.guess | xargs -r -n1 cp
 /openwrt_trunk-glibc/scripts/**config.guess; /usr/bin/find

 /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
 1/hotplug2-201/
 -name config.sub | xargs -r chmod u+w; /usr/bin/find

 /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
 1/hotplug2-201/
 -name config.sub | xargs -r -n1 cp
 /openwrt_trunk-glibc/scripts/**config.sub;
 AR=powerpc-openwrt-linux-gnu-**ar AS=powerpc-openwrt-linux-gnu-**gcc -c
 -Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float
 LD=powerpc-openwrt-linux-gnu-**ld NM=powerpc-openwrt-linux-gnu-**nm
 CC=powerpc-openwrt-linux-gnu-**gcc GCC=powerpc-openwrt-linux-**
 gnu-gcc
 CXX=powerpc-openwrt-linux-**gnu-g++
 RANLIB=powerpc-openwrt-linux-**gnu-ranlib
 STRIP=powerpc-openwrt-linux-**gnu-strip
 OBJCOPY=powerpc-openwrt-linux-**gnu-objcopy
 OBJDUMP=powerpc-openwrt-linux-**gnu-objdump
 SIZE=powerpc-openwrt-linux-**gnu-size CFLAGS=-Os -pipe
 -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float 
 CXXFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
 -msoft-float 

 CPPFLAGS=-I/openwrt_trunk-**glibc/staging_dir/target-**
 powerpc_glibc-2.6.1/usr/**include
 -I/openwrt_trunk-glibc/**staging_dir/target-powerpc_**glibc-2.6.1/include

 -I/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
 gcc-4.4.5_glibc-2.6.1/usr/**include

 -I/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
 gcc-4.4.5_glibc-2.6.1/include
 

 LDFLAGS=-L/openwrt_trunk-**glibc/staging_dir/target-**
 powerpc_glibc-2.6.1/usr/lib
 -L/openwrt_trunk-glibc/**staging_dir/target-powerpc_**glibc-2.6.1/lib

 -L/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
 gcc-4.4.5_glibc-2.6.1/usr/lib

 -L/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
 gcc-4.4.5_glibc-2.6.1/lib
./configure --target=powerpc-openwrt-linux
 --host=powerpc-openwrt-linux --build=i686-linux-gnu
 --program-prefix= --program-suffix= --prefix=/usr
 --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
 --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
 --localstatedir=/var --mandir=/usr/man --infodir=/usr/info
 --disable-nls   ; fi; )
  touch

 /openwrt_trunk-glibc/build_**dir/target-powerpc_glibc-2.6.**
 1/hotplug2-201/.configured_
 CFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
 -msoft-float

 -I/openwrt_trunk-glibc/**staging_dir/target-powerpc_**
 glibc-2.6.1/usr/include
 -I/openwrt_trunk-glibc/**staging_dir/target-powerpc_**glibc-2.6.1/include

 -I/openwrt_trunk-glibc/**staging_dir/toolchain-powerpc_**
 

[OpenWrt-Devel] Next error with glibc...

2011-06-17 Thread Pawel Pastuszak
Hi Gents,

Any thoughts on this, Again i using the glibc 2.6.1 and gcc 4.4.5 on ubuntu
10.10 and it's trunk check out.



make[3]: Entering directory `/openwrt_trunk-glibc/feeds/packages/libs/mysql'
. /openwrt_trunk-glibc/include/shell.sh; .
/openwrt_trunk-glibc/include/shell.sh; gzip -dc
/openwrt_trunk-glibc/dl/mysql-5.1.53.tar.gz | /bin/tar -C
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/..
-xf -

Applying ./patches/500-cross_compile.patch using plaintext:
patching file configure
patching file configure.in
patching file storage/innodb_plugin/plug.in
patching file libmysql/Makefile.in

Applying ./patches/501-disable-pthread-and-tests.patch using plaintext:
patching file sql/Makefile.am
patching file sql/Makefile.in
patching file extra/Makefile.am
patching file extra/Makefile.in

Applying ./patches/502-fix-hostname.patch using plaintext:
patching file scripts/mysql_install_db.sh
touch
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/.prepared_996d836bb9ea6ca62ea8d7e2685150d0
(cd /openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53;
touch configure.in aclocal.m4 Makefile.in config.h.in configure );
cp -fpR files/lex_hash.h
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/sql/lex_hash.h
(cd
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/./;
if [ -x ./configure ]; then /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/
-name config.guess | xargs -r chmod u+w; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/
-name config.guess | xargs -r -n1 cp
/openwrt_trunk-glibc/scripts/config.guess; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/
-name config.sub | xargs -r chmod u+w; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/
-name config.sub | xargs -r -n1 cp /openwrt_trunk-glibc/scripts/config.sub;
AR=powerpc-openwrt-linux-gnu-ar AS=powerpc-openwrt-linux-gnu-gcc -c -Os
-pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC
LD=powerpc-openwrt-linux-gnu-ld NM=powerpc-openwrt-linux-gnu-nm
CC=powerpc-openwrt-linux-gnu-gcc GCC=powerpc-openwrt-linux-gnu-gcc
CXX=g++-uc RANLIB=powerpc-openwrt-linux-gnu-ranlib
STRIP=powerpc-openwrt-linux-gnu-strip
OBJCOPY=powerpc-openwrt-linux-gnu-objcopy
OBJDUMP=powerpc-openwrt-linux-gnu-objdump
SIZE=powerpc-openwrt-linux-gnu-size CFLAGS=-Os -pipe -fno-caller-saves
-mcpu=440 -fhonour-copts -msoft-float -fPIC  CXXFLAGS=-Os -pipe
-fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC 
CPPFLAGS=-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include

LDFLAGS=-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/lib
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
  CXXFLAGS=$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++
CPPFLAGS=$CPPFLAGS
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include/uClibc++
LDFLAGS=$LDFLAGS LIBS=-nodefaultlibs -luClibc++ -lm
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
-lgcc_s CLIENTCLIBS=-nodefaultlibs -luClibc++ -lm
-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
-lgcc_s   mysql_cv_compress=yes mysql_cv_gethostname_style=glibc2
ac_cv_c_stack_direction=-1  ./configure --target=powerpc-openwrt-linux
--host=powerpc-openwrt-linux --build=i686-linux-gnu --program-prefix=
--program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc
--datadir=/usr/share --localstatedir=/var --mandir=/usr/man
--infodir=/usr/info --disable-nls--enable-shared --enable-static
--enable-thread-safe-client --disable-assembler --with-pthread --with-server
--without-mysqlmanager --without-raid --with-mysqld-user=root
--with-unix-socket-path=/tmp --without-libwrap --without-pstack
--with-low-memory --without-embedded-server --without-query-cache
--without-mysqlfs --without-vio --without-ssl --without-docs --without-man
--without-bench --without-readline --without-debug
--with-named-thread-libs=-lpthread ; fi; );
configure: WARNING: unrecognized options: --disable-nls, --without-raid,
--without-mysqlfs, --without-vio, --without-bench
configure: loading site script
/openwrt_trunk-glibc/include/site/powerpc-openwrt-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-openwrt-linux-gnu
checking target system type... powerpc-openwrt-linux-gnu
checking for a BSD-compatible install... 

Re: [OpenWrt-Devel] Next error with glibc...

2011-06-17 Thread Roback, Joe

I think the key piece of information here is


See `config.log' for more details.


You might get some better help posting the details of the error ;-)


Joe




On Fri, 17 Jun 2011 14:38:08 -0400, Pawel Pastuszak wrote:

Hi Gents,

Any thoughts on this, Again i using the glibc 2.6.1 and gcc 4.4.5 on 
ubuntu

10.10 and it's trunk check out.



make[3]: Entering directory 
`/openwrt_trunk-glibc/feeds/packages/libs/mysql'

. /openwrt_trunk-glibc/include/shell.sh; .
/openwrt_trunk-glibc/include/shell.sh; gzip -dc
/openwrt_trunk-glibc/dl/mysql-5.1.53.tar.gz | /bin/tar -C
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/..
-xf -

Applying ./patches/500-cross_compile.patch using plaintext:
patching file configure
patching file configure.in
patching file storage/innodb_plugin/plug.in
patching file libmysql/Makefile.in

Applying ./patches/501-disable-pthread-and-tests.patch using plaintext:
patching file sql/Makefile.am
patching file sql/Makefile.in
patching file extra/Makefile.am
patching file extra/Makefile.in

Applying ./patches/502-fix-hostname.patch using plaintext:
patching file scripts/mysql_install_db.sh
touch

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/.prepared_996d836bb9ea6ca62ea8d7e2685150d0
(cd 
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53;

touch configure.in aclocal.m4 Makefile.in config.h.in configure );
cp -fpR files/lex_hash.h

/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/sql/lex_hash.h
(cd
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/./;
if [ -x ./configure ]; then /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/
-name config.guess | xargs -r chmod u+w; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/
-name config.guess | xargs -r -n1 cp
/openwrt_trunk-glibc/scripts/config.guess; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/
-name config.sub | xargs -r chmod u+w; /usr/bin/find
/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/mysql-5.1.53/
-name config.sub | xargs -r -n1 cp 
/openwrt_trunk-glibc/scripts/config.sub;

AR=powerpc-openwrt-linux-gnu-ar AS=powerpc-openwrt-linux-gnu-gcc -c -Os
-pipe -fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC
LD=powerpc-openwrt-linux-gnu-ld NM=powerpc-openwrt-linux-gnu-nm
CC=powerpc-openwrt-linux-gnu-gcc GCC=powerpc-openwrt-linux-gnu-gcc
CXX=g++-uc RANLIB=powerpc-openwrt-linux-gnu-ranlib
STRIP=powerpc-openwrt-linux-gnu-strip
OBJCOPY=powerpc-openwrt-linux-gnu-objcopy
OBJDUMP=powerpc-openwrt-linux-gnu-objdump
SIZE=powerpc-openwrt-linux-gnu-size CFLAGS=-Os -pipe -fno-caller-saves
-mcpu=440 -fhonour-copts -msoft-float -fPIC  CXXFLAGS=-Os -pipe
-fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float -fPIC 

CPPFLAGS=-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include
-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include

-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include

-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include


LDFLAGS=-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib
-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/lib

-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/lib

-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
  CXXFLAGS=$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++
CPPFLAGS=$CPPFLAGS

-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include/uClibc++
LDFLAGS=$LDFLAGS LIBS=-nodefaultlibs -luClibc++ -lm

-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
-lgcc_s CLIENTCLIBS=-nodefaultlibs -luClibc++ -lm

-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib
-lgcc_s   mysql_cv_compress=yes mysql_cv_gethostname_style=glibc2
ac_cv_c_stack_direction=-1  ./configure --target=powerpc-openwrt-linux
--host=powerpc-openwrt-linux --build=i686-linux-gnu --program-prefix=
--program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc
--datadir=/usr/share --localstatedir=/var --mandir=/usr/man
--infodir=/usr/info --disable-nls--enable-shared --enable-static
--enable-thread-safe-client --disable-assembler --with-pthread 
--with-server

--without-mysqlmanager --without-raid --with-mysqld-user=root
--with-unix-socket-path=/tmp --without-libwrap --without-pstack
--with-low-memory --without-embedded-server --without-query-cache
--without-mysqlfs --without-vio --without-ssl --without-docs --without-man
--without-bench --without-readline --without-debug
--with-named-thread-libs=-lpthread ; fi; );
configure: WARNING: unrecognized options: --disable-nls, --without-raid,
--without-mysqlfs, --without-vio, --without-bench
configure: loading site script

Re: [OpenWrt-Devel] Facilitating collaboration -- the labor exchange

2011-06-17 Thread Philip Prindeville
On 6/17/11 9:35 AM, Jonathan Bennett wrote:
 Phillip,
 What would be the advantage of ipsec over OpenVPN?
 
 In my experience, if you have Asterisk deployed, the call is
 routed through Asterisk, which handles the Nat traversal fairly well.
 Are you describing a sip re-invite, where the local phone connects
 directly to the remote end?
 
 ~Jonathan Bennett

Well, I know a lot of hotspots (hotels, airports, etc) that don't handle 
OpenVPN SSL... or even at all.

Also, IPsec QoS marking is easier to handle than mixing several protocols over 
an SSL stream all with the same markings.

One thing I like to use IPsec for is running SIP to my soft client on my laptop 
or even to my iPhone.

As for Asterisk, it handles NAT fairly well *unless* Asterisk happens to be 
running on the machine providing NAT mapping itself (i.e. on your firewall 
appliance).  Then... not so well.

I'd like to see Asterisk punch holes for the media stream via ipt on-the-fly so 
that the phones don't actually have to be NAT-aware.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] b44 ssb0:0: eth0: powering down PHY

2011-06-17 Thread Peter Wagner
Hi,

i created a c++ and while testing it i created a few millions packages and 
sent them to port 4950 an router running openwrt. its a wl500gP v1.
while i was doing this the device gets unresponsive and i get lines like this:

b44 ssb0:0: eth0: powering down PHY
b44 ssb0:0: eth0: powering down PHY
b44 ssb0:0: eth0: powering down PHY

after doing this for about 2 minutes the device reboots. i think this is 
triggered by the watchdog as it get no enough process time from the sheduler.

how can i track down why this powering down PHY happens?

regards
Peter
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] b44 ssb0:0: eth0: powering down PHY

2011-06-17 Thread Peter Wagner
accidently hit the send button...

Hi,

i created a c++ program and while testing it (it sends upd packets) i created 
a few millions packages and sent them to 192.168.1.1:4950 (my router running 
openwrt). its a wl500gP v1. while i was doing this the device gets 
unresponsive and i get lines like this:

b44 ssb0:0: eth0: powering down PHY
b44 ssb0:0: eth0: powering down PHY
b44 ssb0:0: eth0: powering down PHY

after doing this for about 2 minutes the device reboots. i think this is 
triggered by the watchdog as it get no enough process time from the sheduler.

how can i track down why this powering down PHY happens?

regards
Peter
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Facilitating collaboration -- the labor exchange

2011-06-17 Thread Outback Dingo
On Fri, Jun 17, 2011 at 4:12 PM, Jonathan Bennett jbscienc...@gmail.comwrote:

 On Fri, Jun 17, 2011 at 1:56 PM, Philip Prindeville
 philipp_s...@redfish-solutions.com wrote:
  On 6/17/11 9:35 AM, Jonathan Bennett wrote:
  Phillip,
  What would be the advantage of ipsec over OpenVPN?
 
  In my experience, if you have Asterisk deployed, the call is
  routed through Asterisk, which handles the Nat traversal fairly well.
  Are you describing a sip re-invite, where the local phone connects
  directly to the remote end?
 
  ~Jonathan Bennett
 
  Well, I know a lot of hotspots (hotels, airports, etc) that don't handle
 OpenVPN SSL... or even at all.
 What do you mean? I've gotten OpenVPN through some very hostile
 environments (a network that allows *only* web browsing, and that
 going through a forced proxy and web filter). It uses a single tcp or
 udp connection, which means it can get out through most any network.
 
  Also, IPsec QoS marking is easier to handle than mixing several protocols
 over an SSL stream all with the same markings.
 I can see the advantage of true QoS, though. I would imagine that
 IPsec would be more efficient, too.


N2N is always a good choice for VPN capabilities
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] sysupgrade crashing

2011-06-17 Thread Aleksandar Radovanovic
On 06/17/2011 11:49 AM, D.S. Ljungmark wrote:
 On Thu, 2011-06-16 at 19:49 +0200, Ithamar R. Adema wrote:
 Hi,

 On Thu, 2011-06-16 at 12:21 +0200, Jo-Philipp Wich wrote:
 Maybe calling reboot at all is not such a great idea as it
 attempts to run the (former) init scripts to stop them.

 Maybe using we should use 'reboot -f' here, as that will skip all
 userland 'shutdown' handling and simply call the kernel side reboot
 handler?

 This *should* flush all disk cache and such, so still be safe from
 that point, but keep us out of the usual 'init' handling


 That does sound like a good idea, especially as I suspect part of the
 reason that the systems crash is because the mountedactive
 filesystem just disappeared, and that the pages of the files needed
 were not in active RAM. It basically looks as if things are
 attempting to execute pure garbage (Not too surprising, really)

 //D.S.

 ___ openwrt-devel
 mailing list openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel



Hi,

If you don't mind the long mail, I can offer my two cents on the subject.

I use OpenWRT in a number of products on various hardware and with varying 
filesystems (jffs2, yaffs, ...) and have seen quite a few problems with 
sysupgrade as it is now (including kernel crashes, segfaults and similar, plus 
the fact that it generally only handles jffs2). The idea of writing to a 
mounted filesystem just scares me.

So, I have decided to write my own flash upgrade framework, borrowing bits of 
code from sysupgrade, but doing it in a completely different and safer 
fashion. Downside is that the whole process is a bit more complicated and 
requires three stages:

Stage 1:

Tell init to do a shutdown, but, instead of rebooting at the end, replace 
itself with a stage2 shell script.

This can be done with the following bit of code:

# copy initttab and append our stage2 at the end
cp /etc/inittab /tmp/inittab

  
echo -e \n::restart:/bin/sh /lib/upgrade/stage2.sh  /tmp/inittab


# remount it over existing inittab, so we don't disturb the original
mount --bind /tmp/inittab /etc/inittab  

  


  
# make init re-read inittab
kill -HUP 1 

  
sleep 1 

  

# and make it run all the shutdown hooks and the replace
# itself with our restart hook (/lib/upgrade/stage2.sh)
kill -QUIT 1

After this point, there are no user processes left, init is gone and the only 
process left is a PID 1 shell running our stage2 script (note that this shell 
is still holding references to rootfs and rootfs is still mounted and active)

(Side note: you wouldn't need all this copy/append/mount/re-read crap, if that 
::restart line was a permanent part of the default inittab. A more flexible 
solution would be for that default restart line to read the script to execute 
from some file in tmpfs, so you echo your command(s) into that file and just 
call 'kill -QUIT 1' to execute various nice things in PID 1 context)

Stage 2:

Copy all needed binaries and files to ram and make an (optional) backup of the 
config data (or whatever else you need) and then pivot old root with tmpfs, in 
much the same way sysupgrade does.
Then, exec /bin/sh /lib/upgrade/stage3.sh, replacing the PID 1 shell running 
from old root with a new one running exclusively from ram root.

At this point, we only have a PID 1 shell running our stage3 script from ram. 
No references exist to rootfs anymore, so stage3 can safely unmount it.

Stage 3:

Unmount rootfs and flash everything over. Since rootfs is no longer active, 
you can fully unmount it, write the paritition(s), and restore your backup 
data by simply mounting rootfs again and copying the files back (no need to 
use mtd jffs2 append, will work with any filesystem, e.g. yaffs - you may want 
to do an mtd refresh, however, in case your partition layout changed).

Finally,  unmount everything and call reboot -f, since there are no processes 
running but the ram shell.

That's it.

(For simplicity sake, I left out some gory bits, like handling overlays, 
remounting /proc, /sys, passing command line 

Re: [OpenWrt-Devel] sysupgrade crashing

2011-06-17 Thread Aleksandar Radovanovic

On 06/17/2011 10:54 PM, Aleksandar Radovanovic wrote:

On 06/17/2011 11:49 AM, D.S. Ljungmark wrote:

On Thu, 2011-06-16 at 19:49 +0200, Ithamar R. Adema wrote:

Hi,

On Thu, 2011-06-16 at 12:21 +0200, Jo-Philipp Wich wrote:

Maybe calling reboot at all is not such a great idea as it
attempts to run the (former) init scripts to stop them.

Maybe using we should use 'reboot -f' here, as that will skip all
userland 'shutdown' handling and simply call the kernel side reboot
handler?

This *should* flush all disk cache and such, so still be safe from
that point, but keep us out of the usual 'init' handling


That does sound like a good idea, especially as I suspect part of the
reason that the systems crash is because the mountedactive
filesystem just disappeared, and that the pages of the files needed
were not in active RAM. It basically looks as if things are
attempting to execute pure garbage (Not too surprising, really)

//D.S.

___ openwrt-devel
mailing list openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



# copy initttab and append our stage2 at the end
cp /etc/inittab /tmp/inittab
echo -e \n::restart:/bin/sh /lib/upgrade/stage2.sh  /tmp/inittab

# remount it over existing inittab, so we don't disturb the original
mount --bind /tmp/inittab /etc/inittab

# make init re-read inittab
kill -HUP 1
sleep 1

# and make it run all the shutdown hooks and the replace
# itself with our restart hook (/lib/upgrade/stage2.sh)
kill -QUIT 1


Ooops, some wrapping errors there, but you get the gist.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Compiling error after using glibc

2011-06-17 Thread Mirko Vogt

It got obsoleted by r27169, r27170 and r27209.

mirko

On Fri, 17 Jun 2011 13:26:22 -0400, Pawel Pastuszak wrote:

Thanks guys for the support the last patch did the trick to compile
everything.

Do you think i should include this patch also or is it unneeded

https://dev.openwrt.org/attachment/ticket/9012/hotplug2.patch [4]

Pawel

On Fri, Jun 17, 2011 at 11:31 AM, Mirko Vogt  wrote:


Hello Pawel,

this issue is related to: https://dev.openwrt.org/ticket/9012 [1]

Attached patch should solve the issue - please report if it does
the job.

Cheers

mirko

On Fri, 17 Jun 2011 10:39:26 -0400, Pawel Pastuszak wrote:


Hi gents,

I getting an hotplug complie error after i compiled the gcc 4.4.5
toolcahin with glibc 2.6.1, please not this is a trunk check out

PS. I am using Ubuntu 10.10.

make[3]: Entering directory
`/openwrt_trunk-glibc/package/hotplug2
 . /openwrt_trunk-glibc/include/shell.sh; .
/openwrt_trunk-glibc/include/shell.sh; gzip -dc
/openwrt_trunk-glibc/dl/hotplug2-201.tar.gz | /bin/tar -C






/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/..

-xf -

Applying ./patches/100-env_memleak.patch using plaintext:
patching file action.c

Applying ./patches/110-static_worker.patch using plaintext:
patching file common.mak
patching file Makefile

Applying ./patches/120-sysfs_path_fix.patch using plaintext:
 patching file rules/command.c

Applying ./patches/130-cancel_download_fix.patch using plaintext:
patching file rules/command.c

Applying ./patches/140-worker_fork_fix.patch using plaintext:
patching file action.c
 patching file action.h
patching file workers/worker_fork.c

Applying ./patches/150-force_fork_slow.patch using plaintext:
patching file workers/worker_fork.c

Applying ./patches/160-event_block_fix.patch using plaintext:
 patching file uevent.c
patching file workers/worker_fork.c
patching file workers/worker_fork.h

Applying ./patches/170-non_fatal_include.patch using plaintext:
patching file parser/parser.c
touch






/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/.prepared_a0868ae0da52f806357cd4d656bea207

 (cd






/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/./;

if [ -x ./configure ]; then /usr/bin/find






/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/

-name config.guess | xargs -r chmod u+w; /usr/bin/find






/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/

-name config.guess | xargs -r -n1 cp
/openwrt_trunk-glibc/scripts/config.guess; /usr/bin/find






/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/

-name config.sub | xargs -r chmod u+w; /usr/bin/find






/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/

-name config.sub | xargs -r -n1 cp
/openwrt_trunk-glibc/scripts/config.sub;
AR=powerpc-openwrt-linux-gnu-ar AS=powerpc-openwrt-linux-gnu-gcc
-c
-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
-msoft-float
LD=powerpc-openwrt-linux-gnu-ld NM=powerpc-openwrt-linux-gnu-nm
CC=powerpc-openwrt-linux-gnu-gcc
GCC=powerpc-openwrt-linux-gnu-gcc
CXX=powerpc-openwrt-linux-gnu-g++
RANLIB=powerpc-openwrt-linux-gnu-ranlib
STRIP=powerpc-openwrt-linux-gnu-strip
OBJCOPY=powerpc-openwrt-linux-gnu-objcopy
OBJDUMP=powerpc-openwrt-linux-gnu-objdump
SIZE=powerpc-openwrt-linux-gnu-size CFLAGS=-Os -pipe
-fno-caller-saves -mcpu=440 -fhonour-copts -msoft-float 
CXXFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
-msoft-float 






CPPFLAGS=-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include





-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include







-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include







-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/include








LDFLAGS=-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/lib

-L/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/lib






-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/lib







-L/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/lib

   ./configure --target=powerpc-openwrt-linux
--host=powerpc-openwrt-linux --build=i686-linux-gnu
--program-prefix= --program-suffix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
--localstatedir=/var --mandir=/usr/man --infodir=/usr/info
--disable-nls   ; fi; )
 touch






/openwrt_trunk-glibc/build_dir/target-powerpc_glibc-2.6.1/hotplug2-201/.configured_

CFLAGS=-Os -pipe -fno-caller-saves -mcpu=440 -fhonour-copts
-msoft-float 






-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/usr/include





-I/openwrt_trunk-glibc/staging_dir/target-powerpc_glibc-2.6.1/include







-I/openwrt_trunk-glibc/staging_dir/toolchain-powerpc_gcc-4.4.5_glibc-2.6.1/usr/include