This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: unknown type name 'TItype'
2011/8/18 Jonathan Wakely <jwakely.gcc@gmail.com>:
> 2011/8/18 Maciej BliziÅski :
>>
>> Is this a known issue?
>
> It would help if you say what configure command you're using, I don't
> want to download your archive to look.
>
> i386-solaris is heavily tested and works for everyone else, so you
> must be doing something unusual.
>
> There are regular results posted to
> http://gcc.gnu.org/ml/gcc-testresults/2011-08/ for both x86 and sparc
> on solaris 2.9, 2.10 and 2.11
Interesting, is there an automated system that takes care of running
these tests and posting them to the mailing list? Perhaps OpenCSW
could contribute.
Here is the configuration invocation that I used:
[===== NOW BUILDING: gcc-4.6.1 MODULATION isa-i386: ISA=i386 =====]
[extract-modulated] complete for gcc.
[patch-modulated] complete for gcc.
==> Running configure in work/solaris10-i386/build-isa-i386/gcc-4.6.1
cd work/solaris10-i386/build-isa-i386/gcc-4.6.1 && mkdir -p objdir &&
cd objdir && prefix="/opt/csw/gcc4" exec_prefix="/opt/csw/gcc4"
bindir="/opt/csw/gcc4/bin" sbindir="/opt/csw/gcc4/sbin"
libexecdir="/opt/csw/gcc4/libexec" datadir="/opt/csw/gcc4/share"
sysconfdir="/etc/opt/csw/gcc4" sharedstatedir="/opt/csw/gcc4/share"
localstatedir="/var/opt/csw/gcc4" libdir="/opt/csw/lib"
infodir="/opt/csw/gcc4/share/info"
lispdir="/opt/csw/gcc4/share/emacs/site-lisp"
includedir="/opt/csw/gcc4/include" mandir="/opt/csw/gcc4/share/man"
docdir="/opt/csw/gcc4/share/doc" sourcedir="/opt/csw/src"
CPPFLAGS="-I/opt/csw/gcc4/include" CFLAGS="-mtune=i686 -O2 -pipe -m32
-march=i386" CXXFLAGS="-mtune=i686 -O2 -pipe -m32 -march=i386"
LDFLAGS="-L/opt/csw/gcc4/lib/. -m32 -march=i386 -L/opt/csw/lib"
FFLAGS="-mtune=i686 -O2 -pipe -m32 -march=i386" FCFLAGS="-mtune=i686
-O2 -pipe -m32 -march=i386" ASFLAGS="" OPTFLAGS="-mtune=i686 -O2 -pipe
-m32 -march=i386" CC="/opt/csw/gcc4/bin/gcc"
CXX="/opt/csw/gcc4/bin/g++" CC_HOME="/opt/csw/gcc4" CC_VERSION="gcc
version 4.3.3 (GCC) " CXX_VERSION="gcc version 4.3.3 (GCC) "
GARCH="i386" GAROSREL="5.10" GARPACKAGE="bootstrap-4.6"
LD_OPTIONS="-R/opt/csw/gcc4/lib -R/opt/csw/lib/\$ISALIST
-R/opt/csw/lib" CFLAGS_FOR_TARGET="-O2 -m32 -march=i386 "
CXXFLAGS_FOR_TARGET="-O2 -m32 -march=i386 "
PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig"
DESTDIR="/home/maciej/src/opencsw/pkg/gcc4/branches/bootstrap-4.6/work/solaris10-i386/install-isa-i386"
/home/maciej/src/opencsw/pkg/gcc4/branches/bootstrap-4.6/work/solaris10-i386/build-isa-i386/gcc-4.6.1/configure
--with-pkgversion=OpenCSW --prefix=/opt/csw/gcc4
--exec_prefix=/opt/csw/gcc4 --bindir=/opt/csw/gcc4/bin
--sbindir=/opt/csw/gcc4/sbin --libexecdir=/opt/csw/gcc4/libexec
--datadir=/opt/csw/gcc4/share --sysconfdir=/etc/opt/csw/gcc4
--sharedstatedir=/opt/csw/gcc4/share --localstatedir=/var/opt/csw/gcc4
--libdir=/opt/csw/lib --infodir=/opt/csw/gcc4/share/info
--includedir=/opt/csw/gcc4/include --mandir=/opt/csw/gcc4/share/man
--exec-prefix=/opt/csw/gcc4 --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls
--with-included-gettext --with-libiconv-prefix=/opt/csw --with-x
--with-mpfr=/opt/csw --with-gmp=/opt/csw --enable-java-awt=xlib
--enable-libssp --enable-objc-gc --enable-threads=posix
--enable-stage1-languages=c --enable-languages=c,c++,fortran,java,objc
--enable-bootstrap --with-system-zlib --with-cpu-32=i386
--with-cpu-64=x86_64
My working hypothesis is that the --with-cpu-64=x86_64 setting
confused the ifdef blocks. I'm running a build with just
--with-cpu-32=i386, I'll see how it goes. Do you notice anything
unusual in the above invocation?
Maciej