This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++-v3 configuration and check problems under hpux 10.20



> > 2) mkcheck fails with an error (see below).
> Yea, looks like some kind of shell syntax error.  But I haven't looked
> at it (and I'm not really planning to right now).

The problem is the last line in V3's tests_flags script, which assumes that
passing -n to echo will suppress the newline.  On OS'es where the /bin/sh
is weird, or the echo isn't builtin and conforming, or the external binary
isn't conforming -- at least I think -n is a conformance requirement --
the -n isn't interpreted by 'echo' as a flag.  It gets included in the
string being echo'ed.

The mkcheck script is doing

    set `tests_flags stuff`

and the -n is at the beginning of the string.  So it gets passed back up
and interpreted by 'set' instead.

There are three or four ways around this, but I don't know which is
preferred here.


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]