vector-t.c failures with Forte

Alex Kiernan alexk at demon.net
Fri Aug 30 07:38:55 UTC 2002


Russ Allbery <rra at stanford.edu> writes:

> Alex Kiernan <alexk at demon.net> writes:
> 
> > Huh, wierd... here's what we build with:
> 
> > -fast -g -xs -v -xstrconst -xdepend -xtarget=ultra2 -xarch=v8plusa
> > -xprefetch -xildoff
> 
> > I haven't gone through each of them to figure out where it goes wrong
> > though.
> 
> I played a hunch.  It's -xstrconst.  Looks like the lifting of static
> strings into the rodata section breaks when the strings contain embedded
> nuls (which isn't unreasonable, since that makes them not valid C strings;
> I haven't checked the standard to see if this is really allowed).
> 

Cool, thanks :)

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc


More information about the inn-workers mailing list