On Fri, 12 Mar 1999, David O'Brien wrote:

> On Fri, Mar 12, 1999 at 02:29:27AM -0800, Jordan K. Hubbard wrote:
> > >     /foo/src/gnu/lib/libstdc++/../../../contrib/egcs/libio/gen-params
> > 
> > I'd be very curious to see how gen-params is calling c++ and/or cpp in
> > this case.
> 
> + c++ -v -O -c dummy.C
> Using builtin specs.
> gcc version egcs-2.91.63 19990224 (egcs-1.1.2 pre-release-3)
>  /usr/libexec/cpp -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2
> -D__cplusplus -D__GNUC_MINOR__=91 -Di386 -Dunix -D__ELF__ -D__FreeBSD__=4
> -D__FreeBSD_cc_version=300001 -D__i386__ -D__unix__ -D__ELF__
> -D__FreeBSD__=4 -D__FreeBSD_cc_version=300001 -D__i386 -D__unix
> -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)
> -D__EXCEPTIONS -D__OPTIMIZE__ -D__ELF__ dummy.C /var/tmp/ccO39xXH.ii
> GNU CPP version egcs-2.91.63 19990224 (egcs-1.1.2 pre-release-3) (i386
> FreeBSD/ELF)
> c++: Internal compiler error: program cpp got fatal signal 11
> + echo gen-params: could not compile dummy.C with c++ -v
> gen-params: could not compile dummy.C with c++ -v
> + exit 1
> *** Error code 1
> 
> 
> gdb on the resulting core file isn't leading me anywhere.
> If I use a little X-cut-n-paste and run the `cpp' command manually, it
> works fine and I get the expected output from `cpp'.  

Hmm.... environment variables?

> 
> 
> To Unsubscribe: send mail to majord...@freebsd.org
> with "unsubscribe freebsd-current" in the body of the message
> 

 Brian Feldman                                    _ __  ___ ___ ___  
 gr...@unixhelp.org                           _ __ ___ | _ ) __|   \ 
             http://www.freebsd.org/     _ __ ___ ____ | _ \__ \ |) |
 FreeBSD: The Power to Serve!      _ __ ___ ____ _____ |___/___/___/ 



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to