Segmentation faut on mips device
ANDREY ROZE
roseandrew at me.com
Sun Jan 5 20:10:24 EST 2014
Good day! I write cycles articles about the possibility of expanding the standard firmware optical terminal . This is a standard optical terminal which put all subscribers mgts in Moscow - Zte f660.
CPU info and version:
http://pastebin.com/raw.php?i=ye6k3eJb
More than 5 million subscribers use this terminal and very much it would be interesting to extend the standard capabilities of the router. I began to study the creation of an isolated chroot environment. I managed to compile the latest version toolchan gcc 4.8.2.
Toolchan create script:
http://pastebin.com/RxwS09iT
With his help I was able to create a guaranteed working bash and coreutils.
Openssh create script:
http://pastebin.com/bCM1wJSG
I also managed to create openssh, but when I run any of the software package openssh I get a segmentation fault (segmentation fault). In this program from the OpenSSL by the same compiler working properly.
....
InstallOpenSSl()
{
cd openssl-1.0.1e
make clean
./Configure dist shared - prefix = $SYSROOT -fPIC
make
check_success
make install
check_success
cd ..
}
InstallOpenSSH()
{
cd openssh-6.4p1
make clean
./configure - prefix = $SYSROOT -host = $HOST
make LDFLAGS = "-shared-L.-Lopenbsd-compat /" CFLAGS = "-fPIC"
check_success
make install-files STRIP_OPT = "- strip-program = mips-unknown-linux-gnu-strip"
check_success
cd ..
}
I unfortunately I am unable to run under gdb debugger as it must also be compiled. Please help solve this problem, for me it is a major obstacle .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1732 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20140105/b3b3f406/attachment.bin>
More information about the openssh-unix-dev
mailing list