for your information, no more problem with gcc 3.4.4 :)

BTW, to be sure to get the gcc used, I modified the config file :

if [ "${SYSTEM}" = "AIX" ]; then        # favor vendor cc over gcc
   (cc) 2>&1 | grep -iv "not found" > /dev/null && CC=cc
fi

==>

if [ "${SYSTEM}" = "AIX" ]; then        # favor vendor cc over gcc
   (xlc) 2>&1 | grep -iv "not found" > /dev/null && CC=xlc
fi

Will it be included in CVS ?

2005/7/1, Henri Gomez <[EMAIL PROTECTED]>:
> well gcc didn't like openssl ;(
> 
> gcc -c -I.. -I../.. -I../../include -DOPENSSL_SYSNAME_AIX -DDSO_DLFCN
> -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA -O3 -DB_ENDIAN  -o
> asm/aix_ppc32.o asm/aix_ppc32.s
> gcc: Internal error: Terminated (program as)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> make[2]: *** [asm/aix_ppc32.o] Error 1
> make[1]: *** [subdirs] Error 1
> make: *** [sub_all] Error 1
> error: Bad exit status from /QOpenSys/openpkg/RPM/TMP/rpm-tmp.2149 (%build)
> 
> 
> 2005/7/1, Henri Gomez <[EMAIL PROTECTED]>:
> > to select vendor c compiler, may be better do :
> >
> > if [ "${SYSTEM}" = "AIX" ]; then        # favor vendor cc over gcc
> >     (xlc) 2>&1 | grep -iv "not found" > /dev/null && CC=xlc
> > fi
> >
> > 2005/7/1, Henri Gomez <[EMAIL PROTECTED]>:
> > > Why did there is such code in config ?
> > >
> > > if [ "${SYSTEM}" = "AIX" ]; then        # favor vendor cc over gcc
> > >     (cc) 2>&1 | grep -iv "not found" > /dev/null && CC=cc
> > > fi
> > >
> > > With such code even if gcc was selected previously, we get flags to be
> > > used with XLC and so it make build failed ;(
> > >
> >
>
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to