Segmentation faut on mips device

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 07/01/14 16:30, ANDREY ROZE wrote:
> I managed to compile the gdb debugger for the target architecture and run under gdb
> That's what he gave me :
>
> This GDB was configured as "mips-unknown-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>  ...
> Reading symbols from / bin / ssh...done.
> (gdb) run
> Starting program: / bin / ssh
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x555887e0 in?? ()
>
>
> I also tried to run ssh with -vvv. With the same result.
> I also did an experiment . Replaced the source code to the stub ssh.c "hellow world", the program also issued a segmentation fault.
>
> I'm not sure but it may be a bug associated with the correct configuration at compile time.
> I tried to configure with default settings , but there were errors . I had to add two flag -fPIC-shared. Finally make looks like:
If even if a simple a hello world segfaults*, then I would point to your 
compiler as creating wrong executables, and it wouldn't be openssh fault.

* I understand that's what you done above,but perhaps you did something 
a bit different.



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux