[M3devel] Ubuntu Gutsy problems

Tony Hosking hosking at cs.purdue.edu
Fri Jan 4 20:17:23 CET 2008


Did you update your m3cg backend?

Also, make sure your config file has "-gstabs" defined in the debug  
portion of the arguments to the m3_backend.

It seems you are suffering from a lag between the 4.1 backend and  
config file and the newer one.

On Jan 4, 2008, at 1:42 PM, Daniel Alejandro Benavides D. wrote:

> Hi:
> Here is a stacktrace of cm3cg, compiled with a gcc 4.1 compiler (of  
> this machine).
>
> daniel at fbd-desktop:~$ gdb cm3cg
> GNU gdb 6.6-debian
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License,  
> and you are
> welcome to change it and/or distribute copies of it under certain  
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for  
> details.
> This GDB was configured as "i486-linux-gnu"...
> Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so. 
> 1".
> (gdb) run RTHooks.ic -o RTHooks.is -g
> Starting program: /usr/local/cm3/bin/cm3cg RTHooks.ic -o RTHooks.is -g
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x080d8e6d in gen_field_die ()
> (gdb) where
> #0  0x080d8e6d in gen_field_die ()
> #1  0x080dc988 in gen_decl_die ()
> #2  0x080d9d61 in gen_type_die ()
> #3  0x080dcb45 in gen_decl_die ()
> #4  0x080dcd34 in dwarf2out_decl ()
> #5  0x080dcd55 in dwarf2out_type_decl ()
> #6  0x08050178 in debug_struct ()
> #7  0x080505ea in m3cg_declare_formal ()
> #8  0x080515b6 in m3_parse_file ()
> #9  0x082682aa in toplev_main ()
> #10 0x080568ca in main ()
>
>
> "Daniel Alejandro Benavides D." <dabenavidesd at yahoo.es> escribió:  
> Hi all:
> I'm trying to compile the first step bootstrap compiler on ubuntu  
> gutsy 2.6.22-14-386, and I get into segmentation fault:
>
> adminfbd at fbd-desktop:/home/daniel/code/cm3/scripts$ sudo ./do- 
> pkg.sh buildship m3core
> CM3C =
> /home/daniel/code/cm3/scripts
> /pkgmap.sh -c "/usr/local/cm3/bin/cm3 -build  -DROOT='/home/daniel/ 
> code/cm3'  && /usr/local/cm3/bin/cm3 -ship -DROOT='/home/daniel/ 
> code/cm3' " m3core
> === package /home/daniel/code/cm3/m3-libs/m3core ===
>  +++ /usr/local/cm3/bin/cm3 -build  -DROOT='/home/daniel/code/cm3'   
> && /usr/local/cm3/bin/cm3 -ship -DROOT='/home/daniel/code/cm3'  +++
> --- building in LINUXLIBC6 ---
>
> ignoring ../src/m3overrides
>
> new source -> compiling RTHooks.i3
> RTHooks.i3: In function 'RTHooks_I3':
> RTHooks.i3:146: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> new source -> compiling RT0.i3
> RT0.i3: In function 'RT0_I3':
> RT0.i3:230: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> new source -> compiling RuntimeError.i3
> RuntimeError.i3: In function 'RuntimeError_I3':
>
> I used the new binaries of the d5.5.0 branch.
>
> Thanks
>
> Web Revelación Yahoo! 2007:
> Premio Favorita del Público - ¡Vota tu preferida!
>
>
> Web Revelación Yahoo! 2007:
> Premio Favorita del Público - ¡Vota tu preferida!




More information about the M3devel mailing list