pkgsrc-WIP-review archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc43



Seems more an issue with the installed compiler.
Is it tested? Is it the default compiler on your OS?
My netbsd i386 5.0-beta has 
/usr/bin/gcc -v
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)
Fulvio
At Thu, 15 Jan 2009 15:45:25 -0600,
Larson, Timothy E. wrote:
> 
> > I committed a first version for gcc43:gcc-4.3.2
> > supported languages: c,c++,gfortran
> > Compiles on i386 netbsd 5.0-beta.
> > I tested gfortran by compiling a huge fortran code and using it.
> > Would anyone gcc43 on its on platform?
> 
> Solaris 9 on sparc using GCCfss 4.2.0....
> 
> 
> checking build system type... sparc-sun-solaris2.9
> checking host system type... sparc-sun-solaris2.9
> checking for sparc-sun-solaris2.9-ar... ar
> checking for sparc-sun-solaris2.9-lipo... lipo
> checking for sparc-sun-solaris2.9-nm...
> /usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/nm
> checking for sparc-sun-solaris2.9-ranlib... ranlib
> checking for sparc-sun-solaris2.9-strip... strip
> checking whether ln -s works... yes
> checking for sparc-sun-solaris2.9-gcc...
> /usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/xgcc
> -B/usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/bin/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/lib/ -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/include -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/sys-include
> checking for suffix of object files... configure: error: cannot compute
> suffix of object files: cannot compile
> See `config.log' for more details.
> gmake[2]: *** [configure-stage1-target-libgcc] Error 1
> gmake[2]: Leaving directory `/usr/pkgsrc/wip/gcc43/work.sparc/obj'
> gmake[1]: *** [stage1-bubble] Error 2
> gmake[1]: Leaving directory `/usr/pkgsrc/wip/gcc43/work.sparc/obj'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop.
> 
> Looking in work.sparc/obj/sparc-sun-solaris2.9/libgcc/config.log I see:
> 
> configure:2363: checking for C compiler version
> configure:2366: /usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/xgcc
> -B/usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/bin/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/lib/ -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/include -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/sys-include --version </dev/null >&5
> xgcc (GCC) 4.3.2
> Copyright (C) 2008 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> configure:2369: $? = 0
> configure:2371: /usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/xgcc
> -B/usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/bin/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/lib/ -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/include -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/sys-include -v </dev/null >&5
> Reading specs from /usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/specs
> Target: sparc-sun-solaris2.9
> Configured with: /usr/pkgsrc/wip/gcc43/work.sparc/gcc-4.3.2/configure
> --enable-languages='c c++ objc' --with-system-zlib --enable-shared
> --enable-__cxa_atexit --enable-long-long --with-local-prefix=/usr/pkg/gcc43
> --disable-libssp --with-gmp=/usr/pkg --with-mpfr=/usr/pkg
> --enable-threads=posix --prefix=/usr/pkg/gcc43
> Thread model: posix
> gcc version 4.3.2 (GCC)
> configure:2374: $? = 0
> configure:2376: /usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/xgcc
> -B/usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/bin/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/lib/ -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/include -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/sys-include -V </dev/null >&5
> xgcc: '-V' must come at the start of the command line
> configure:2379: $? = 1
> configure:2398: /usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/xgcc
> -B/usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/bin/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/lib/ -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/include -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/sys-include -o conftest -g
> -fkeep-inline-functions   conftest.c  >&5
> conftest.c:1: internal compiler error: Segmentation Fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> configure:2401: $? = 1
> configure:2567: checking for suffix of object files
> configure:2588: /usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/xgcc
> -B/usr/pkgsrc/wip/gcc43/work.sparc/obj/./gcc/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/bin/
> -B/usr/pkg/gcc43/sparc-sun-solaris2.9/lib/ -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/include -isystem
> /usr/pkg/gcc43/sparc-sun-solaris2.9/sys-include -c -g
> -fkeep-inline-functions  conftest.c >&5
> conftest.c:1: internal compiler error: Segmentation Fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> configure:2591: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "GNU C Runtime Library"
> | #define PACKAGE_TARNAME "libgcc"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2604: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> 
> --
> Tim Larson        AMT2 Unix Systems Administrator
>     InterCall, a division of West Corporation
> 
>                Eschew obfuscation! 
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review


Home | Main Index | Thread Index | Old Index