Richard Lowe wrote: > Roland Mainz <[email protected]> writes: > > It seems VLAs still do not work - the Sun Studio build now works if we > > use DWARF but gcc now fails like this: > > -- snip -- > > ../common/bltins/shiocmd_solaris.c -mcpu=v8 -mno-v8plus > > ERROR: ctfconvert: die 8002: failed to get unsigned (form 0x13) > > Removing pics/bltins/shiocmd_solaris.o > > -- snip -- > > > > Does anyone have an idea how to fix this ? > > The DWARF side of things is a separate bug: > CR 6379193 ctfconvert needs to support VLA for gcc's DWARF > > (among several others that would probably apply to DWARF and/or gcc > and DWARF)
Is there any ETA to get this fixed ? Right now we can't proceed with the integration of some code (e.g. shxml, ksh93-integration update3 etc.) before this one is fixed... ;-( > A very brief and perhaps incorrect look suggests that Studio once > again changed things on their end in the way they represent things on > the stabs side. > > A very quick test shows: > > % /opt/onnv-tools/SUNWspro/SS12/bin/cc -g -xdebugformat=stabs -c foo.c > % ctfconvert -L foo foo.o > arraydef/fpoff-sep, expecting "-" at "4294967288;(0,29)" > code line: 998, file foo.o > ERROR: ctfconvert: foo.o: Couldn't parse stab > "argvc:(0,30)=zr(0,4);0;S4294967288;(0,29)" (source file foo.o) > Removing foo.o > % /opt/onnv-tools/SUNWspro/SS11/bin/cc -g -xdebugformat=stabs -c foo.c > % ctfconvert -L foo foo.o Sun Studio 12 with DWARF works in OS/Net (see http://src.opensolaris.org/source/raw/onnv/onnv-gate/usr/src/Makefile.ast). The problem is now to get gcc working... ;-/ ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
