Bug#498390: gdb refuses to load freshly built vlc binary on mips

2008-09-09 Thread peter green

package: gdb
version: 6.8-3
severity: important

I have been trying to track down the build failure of vlc on mips. The 
build fails with a segmentation fault when doing a test run of the newly 
built vlc binary.


I tried to use gdb to get a backtrace of the problem. Unfortunately gdb 
refuses to load the freshly built vlc binary. The binary does appear to 
be a valid executable as I get some output from it before it segfaults.


debian-mips:~/vlc-0.8.6.h# gdb --args ./vlc --reset-plugins-cache -l -I 
rc vlc:quit

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
http://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as mips-linux-gnu...
/root/vlc-0.8.6.h/vlc: not in executable format: File format not 
recognized

(gdb) quite
Undefined command: quite.  Try help.
(gdb) quit
debian-mips:~/vlc-0.8.6.h# ./vlc --reset-plugins-cache -l -I rc vlc:quit
VLC media player 0.8.6h Janus
starting VLC root wrapper... using UID 0 (root)
***
* Running VLC as root is discouraged. *
***

It is potentially dangerous, and might not even work properly.
 main  main program
 help  Help options
 mux_tsTS muxer (libdvbpsi)
 theoraTheora video decoder
 theoraTheora video packetizer
 theoraTheora video encoder
Segmentation fault
debian-mips:~/vlc-0.8.6.h#



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#498390: gdb refuses to load freshly built vlc binary on mips

2008-09-09 Thread Daniel Jacobowitz
On Tue, Sep 09, 2008 at 06:52:39PM +0100, peter green wrote:
 I tried to use gdb to get a backtrace of the problem. Unfortunately gdb  
 refuses to load the freshly built vlc binary. The binary does appear to  
 be a valid executable as I get some output from it before it segfaults.

What does 'file' say?  Is it a libtool-generated script, for instance?

-- 
Daniel Jacobowitz
CodeSourcery



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]