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]

Can't compile gcc 2.95.1 on OpenBSD


I have trouble to build gcc-2.91.1 on OpenBSD 2.5.
Here are fragment of output  of make:
-----------------------------------
Configuring in i386-unknown-openbsd2.5/libiberty
creating cache ./config.cache
checking host system type... i386-unknown-openbsd2.5
checking build system type... i386-unknown-openbsd2.5
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... /usr/ports/lang/egcs/stable/work/build-i386/gcc/xgcc
-B/usr/ports/lang/egcs/stable/work/build-i386/gcc/
-B/usr/local/i386-unknown-openbsd2.5/bin/
checking whether we are using GNU C... yes
checking whether /usr/ports/lang/egcs/stable/work/build-i386/gcc/xgcc
-B/usr/ports/lang/egcs/stable/work/build-i386/gcc/
-B/usr/local/i386-unknown-openbsd2.5/bin/ accepts -g... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... /usr/bin/install -c
Appending
/usr/ports/lang/egcs/stable/work/gcc-2.95.1/libiberty/config/../../config/mh-x86pic
to xhost-mkfrag
checking how to run the C preprocessor...
/usr/ports/lang/egcs/stable/work/build-i386/gcc/xgcc
-B/usr/ports/lang/egcs/stable/work/build-i386/gcc/
-B/usr/local/i386-unknown-openbsd2.5/bin/ -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether the C compiler
(/usr/ports/lang/egcs/stable/work/build-i386/gcc/xgcc
-B/usr/ports/lang/egcs/stable/work/build-i386/gcc/
-B/usr/local/i386-unknown-openbsd2.5/bin/ -O2 ) works... yes
checking whether the C compiler
(/usr/ports/lang/egcs/stable/work/build-i386/gcc/xgcc
-B/usr/ports/lang/egcs/stable/work/build-i386/gcc/
-B/usr/local/i386-unknown-openbsd2.5/bin/ -O2 ) is a cross-compiler...
no
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... no
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemps... yes
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for sigsetmask... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking for working alloca.h... no
checking for alloca... yes
checking for ANSI C header files... yes
checking for pid_t... yes
checking for vfork.h... no
checking for working vfork... yes
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for getrusage... yes
checking for on_exit... no
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
Adding multilib support to Makefile in
/usr/ports/lang/egcs/stable/work/gcc-2.95.1/libiberty
multidirs=
with_multisubdir=
if [ x"yes" = xyes ] && [ ! -d pic ]; then  mkdir pic;  else true; fi
touch stamp-picdir
test x"yes" != xyes ||
/usr/ports/lang/egcs/stable/work/build-i386/gcc/xgcc
-B/usr/ports/lang/egcs/stable/work/build-i386/gcc/
-B/usr/local/i386-unknown-openbsd2.5/bin/ -c -DHAVE_CONFIG_H -O2 -I.
-I/usr/ports/lang/egcs/stable/work/gcc-2.95.1/libiberty/../include
-fpic /usr/ports/lang/egcs/stable/work/gcc-2.95.1/libiberty/argv.c -o
pic/argv.o
*** Error code 1

Stop in
/usr/ports/lang/egcs/stable/work/build-i386/i386-unknown-openbsd2.5/libiberty.

*** Error code 1

Stop in /usr/ports/lang/egcs/stable/work/build-i386.
*** Make bootstrap failed.
*** Look at /usr/ports/lang/egcs/stable/work/build-i386/warnings for
errors
*** Error code 1

Stop in /usr/ports/lang/egcs/stable.
*** Error code 1

Stop in /usr/ports/lang/egcs/stable.
*** Error code 1

Stop in /usr/ports/lang/egcs/stable.

and output of xgcc:
/var/tmp/ccFY8780.s: Assembler messages:
/var/tmp/ccFY8780.s:18: Error: Unimplemented segment type 6 in
parse_operand
/var/tmp/ccFY8780.s:110: Error: Unimplemented segment type 6 in
parse_operand
/var/tmp/ccFY8780.s:151: Error: Unimplemented segment type 6 in
parse_operand

Thanks in advance !

admin@fisher-two.alus.spb.ru



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