[prev in list] [next in list] [prev in thread] [next in thread] 

List:       inn-workers
Subject:    Re: vector-t.c failures with Forte
From:       Alex Kiernan <alexk () demon ! net>
Date:       2002-08-30 7:38:55
[Download RAW message or body]


Russ Allbery <rra@stanford.edu> writes:

> Alex Kiernan <alexk@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic