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]

gcc-2.95.2 doesn't compile on AIX 4.1.5 due to missing -bbigtoc in Makefile


Hi there,

gcc-2.95.2 (and 2.95.1) do not compile on AIX because of a problem in
gcc-2.95.2/gcc/ch/Makefile. The same applies to gcc/cp/Makefile and
gcc/f/Makefile.

The compiler will stop with a TOC overflowe during a link phase. This
could be fixed by adding the BOOT_LDFLAGS to the commandline of the
linkstep (see also diff Makefile.diff for Details). It might be possible
to directly patch Makefile.in (see ch.Makefile.in.diff), as it contains
the same lines directly, but I couldn't try it on any other OS and I
didn't had the time to check the whole config process. Sorry.

I've also attached cp.Makefile.in.diff und f.Makefile.in.diff for gcc/cp
and gcc/f.

If you need any further details, please drop me a note.

Thanks for your help.

Kind regards,

Patrick Hildenbrand.

BTW: here is a possible changelog entry:

Fri Oct 29 20:45:00 1999 Patrick Hildenbrand <patrick@mail4you.de>
    * Makefile.in: $(BOOT_LDFLAGS) added to rule for cc1chill


# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const=yes}
ac_cv_c_inline=${ac_cv_c_inline=inline}
ac_cv_decl_sys_siglist=${ac_cv_decl_sys_siglist=no}
ac_cv_func___argz_count=${ac_cv_func___argz_count=no}
ac_cv_func___argz_next=${ac_cv_func___argz_next=no}
ac_cv_func___argz_stringify=${ac_cv_func___argz_stringify=no}
ac_cv_func_alloca_works=${ac_cv_func_alloca_works=yes}
ac_cv_func_asprintf=${ac_cv_func_asprintf=no}
ac_cv_func_atexit=${ac_cv_func_atexit=yes}
ac_cv_func_atoll=${ac_cv_func_atoll=no}
ac_cv_func_atoq=${ac_cv_func_atoq=no}
ac_cv_func_basename=${ac_cv_func_basename=yes}
ac_cv_func_bcmp=${ac_cv_func_bcmp=yes}
ac_cv_func_bcopy=${ac_cv_func_bcopy=yes}
ac_cv_func_bsearch=${ac_cv_func_bsearch=yes}
ac_cv_func_bzero=${ac_cv_func_bzero=yes}
ac_cv_func_calloc=${ac_cv_func_calloc=yes}
ac_cv_func_clock=${ac_cv_func_clock=yes}
ac_cv_func_fputc_unlocked=${ac_cv_func_fputc_unlocked=no}
ac_cv_func_fputs_unlocked=${ac_cv_func_fputs_unlocked=no}
ac_cv_func_getcwd=${ac_cv_func_getcwd=yes}
ac_cv_func_getpagesize=${ac_cv_func_getpagesize=yes}
ac_cv_func_getrlimit=${ac_cv_func_getrlimit=yes}
ac_cv_func_getrusage=${ac_cv_func_getrusage=yes}
ac_cv_func_gettimeofday=${ac_cv_func_gettimeofday=yes}
ac_cv_func_index=${ac_cv_func_index=yes}
ac_cv_func_insque=${ac_cv_func_insque=yes}
ac_cv_func_isascii=${ac_cv_func_isascii=yes}
ac_cv_func_kill=${ac_cv_func_kill=yes}
ac_cv_func_memchr=${ac_cv_func_memchr=yes}
ac_cv_func_memcmp=${ac_cv_func_memcmp=yes}
ac_cv_func_memcpy=${ac_cv_func_memcpy=yes}
ac_cv_func_memmove=${ac_cv_func_memmove=yes}
ac_cv_func_memset=${ac_cv_func_memset=yes}
ac_cv_func_mkstemps=${ac_cv_func_mkstemps=no}
ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=no}
ac_cv_func_munmap=${ac_cv_func_munmap=yes}
ac_cv_func_on_exit=${ac_cv_func_on_exit=no}
ac_cv_func_popen=${ac_cv_func_popen=yes}
ac_cv_func_psignal=${ac_cv_func_psignal=yes}
ac_cv_func_putc_unlocked=${ac_cv_func_putc_unlocked=no}
ac_cv_func_putenv=${ac_cv_func_putenv=yes}
ac_cv_func_random=${ac_cv_func_random=yes}
ac_cv_func_rename=${ac_cv_func_rename=yes}
ac_cv_func_rindex=${ac_cv_func_rindex=yes}
ac_cv_func_sbrk=${ac_cv_func_sbrk=yes}
ac_cv_func_setenv=${ac_cv_func_setenv=no}
ac_cv_func_setlocale=${ac_cv_func_setlocale=yes}
ac_cv_func_setrlimit=${ac_cv_func_setrlimit=yes}
ac_cv_func_setvbuf=${ac_cv_func_setvbuf=yes}
ac_cv_func_sigblock=${ac_cv_func_sigblock=yes}
ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=yes}
ac_cv_func_sigsetmask=${ac_cv_func_sigsetmask=yes}
ac_cv_func_stpcpy=${ac_cv_func_stpcpy=no}
ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes}
ac_cv_func_strchr=${ac_cv_func_strchr=yes}
ac_cv_func_strdup=${ac_cv_func_strdup=yes}
ac_cv_func_strerror=${ac_cv_func_strerror=yes}
ac_cv_func_strncasecmp=${ac_cv_func_strncasecmp=yes}
ac_cv_func_strrchr=${ac_cv_func_strrchr=yes}
ac_cv_func_strsignal=${ac_cv_func_strsignal=no}
ac_cv_func_strstr=${ac_cv_func_strstr=yes}
ac_cv_func_strtod=${ac_cv_func_strtod=yes}
ac_cv_func_strtol=${ac_cv_func_strtol=yes}
ac_cv_func_strtoul=${ac_cv_func_strtoul=yes}
ac_cv_func_sysconf=${ac_cv_func_sysconf=yes}
ac_cv_func_times=${ac_cv_func_times=yes}
ac_cv_func_tmpnam=${ac_cv_func_tmpnam=yes}
ac_cv_func_vasprintf=${ac_cv_func_vasprintf=no}
ac_cv_func_vfork_works=${ac_cv_func_vfork_works=no}
ac_cv_func_vfprintf=${ac_cv_func_vfprintf=yes}
ac_cv_func_vprintf=${ac_cv_func_vprintf=yes}
ac_cv_func_vsprintf=${ac_cv_func_vsprintf=yes}
ac_cv_func_waitpid=${ac_cv_func_waitpid=yes}
ac_cv_header_alloca_h=${ac_cv_header_alloca_h=no}
ac_cv_header_argz_h=${ac_cv_header_argz_h=no}
ac_cv_header_direct_h=${ac_cv_header_direct_h=no}
ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes}
ac_cv_header_libintl_h=${ac_cv_header_libintl_h=no}
ac_cv_header_limits_h=${ac_cv_header_limits_h=yes}
ac_cv_header_locale_h=${ac_cv_header_locale_h=yes}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h=yes}
ac_cv_header_minix_config_h=${ac_cv_header_minix_config_h=no}
ac_cv_header_nl_types_h=${ac_cv_header_nl_types_h=yes}
ac_cv_header_pthread_h=${ac_cv_header_pthread_h=yes}
ac_cv_header_pwd_h=${ac_cv_header_pwd_h=yes}
ac_cv_header_stab_h=${ac_cv_header_stab_h=no}
ac_cv_header_stdc=${ac_cv_header_stdc=yes}
ac_cv_header_stddef_h=${ac_cv_header_stddef_h=yes}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h=yes}
ac_cv_header_string_h=${ac_cv_header_string_h=yes}
ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
ac_cv_header_sys_fcntl_h=${ac_cv_header_sys_fcntl_h=no}
ac_cv_header_sys_file_h=${ac_cv_header_sys_file_h=yes}
ac_cv_header_sys_param_h=${ac_cv_header_sys_param_h=yes}
ac_cv_header_sys_ptem_h=${ac_cv_header_sys_ptem_h=no}
ac_cv_header_sys_resource_h=${ac_cv_header_sys_resource_h=yes}
ac_cv_header_sys_stat_h=${ac_cv_header_sys_stat_h=yes}
ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes}
ac_cv_header_sys_times_h=${ac_cv_header_sys_times_h=yes}
ac_cv_header_sys_ttold_h=${ac_cv_header_sys_ttold_h=no}
ac_cv_header_sys_wait_h=${ac_cv_header_sys_wait_h=yes}
ac_cv_header_termcap_h=${ac_cv_header_termcap_h=no}
ac_cv_header_termio_h=${ac_cv_header_termio_h=yes}
ac_cv_header_termios_h=${ac_cv_header_termios_h=yes}
ac_cv_header_thread_h=${ac_cv_header_thread_h=no}
ac_cv_header_time=${ac_cv_header_time=yes}
ac_cv_header_time_h=${ac_cv_header_time_h=yes}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
ac_cv_header_values_h=${ac_cv_header_values_h=yes}
ac_cv_header_vfork_h=${ac_cv_header_vfork_h=no}
ac_cv_lib_cposix_strerror=${ac_cv_lib_cposix_strerror=no}
ac_cv_lib_curses_tputs=${ac_cv_lib_curses_tputs=yes}
ac_cv_lib_l_yywrap=${ac_cv_lib_l_yywrap=yes}
ac_cv_lib_ncurses_tputs=${ac_cv_lib_ncurses_tputs=no}
ac_cv_path_GMSGFMT=${ac_cv_path_GMSGFMT=msgfmt}
ac_cv_path_MSGFMT=${ac_cv_path_MSGFMT=msgfmt}
ac_cv_path_XGETTEXT=${ac_cv_path_XGETTEXT=:}
ac_cv_prog_AR=${ac_cv_prog_AR=ar}
ac_cv_prog_AWK=${ac_cv_prog_AWK=nawk}
ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_LEX=${ac_cv_prog_LEX=lex}
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib}
ac_cv_prog_TEXCONFIG=${ac_cv_prog_TEXCONFIG=false}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional=no}
ac_cv_prog_gnat=${ac_cv_prog_gnat=no}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
ac_cv_struct_tm=${ac_cv_struct_tm=time.h}
ac_cv_type_off_t=${ac_cv_type_off_t=yes}
ac_cv_type_pid_t=${ac_cv_type_pid_t=yes}
ac_cv_type_signal=${ac_cv_type_signal=void}
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
am_cv_cygwin32=${am_cv_cygwin32=no}
am_cv_exeext=${am_cv_exeext=no}
am_cv_mingw32=${am_cv_mingw32=no}
am_cv_val_LC_MESSAGES=${am_cv_val_LC_MESSAGES=yes}
gcc_cv_as=${gcc_cv_as=/usr/ccs/bin/as}
gcc_cv_as_alignment_features=${gcc_cv_as_alignment_features=''}
gcc_cv_as_gas_srcdir=${gcc_cv_as_gas_srcdir=./gas}
gcc_cv_as_instructions=${gcc_cv_as_instructions=''}
gcc_cv_as_subsections=${gcc_cv_as_subsections=''}
gcc_cv_c_have_stringify=${gcc_cv_c_have_stringify=yes}
gcc_cv_c_volatile=${gcc_cv_c_volatile=yes}
gcc_cv_decl_needed_abort=${gcc_cv_decl_needed_abort=no}
gcc_cv_decl_needed_atof=${gcc_cv_decl_needed_atof=no}
gcc_cv_decl_needed_atol=${gcc_cv_decl_needed_atol=no}
gcc_cv_decl_needed_bcmp=${gcc_cv_decl_needed_bcmp=no}
gcc_cv_decl_needed_bcopy=${gcc_cv_decl_needed_bcopy=no}
gcc_cv_decl_needed_bzero=${gcc_cv_decl_needed_bzero=no}
gcc_cv_decl_needed_calloc=${gcc_cv_decl_needed_calloc=no}
gcc_cv_decl_needed_fputs_unlocked=${gcc_cv_decl_needed_fputs_unlocked=yes}
gcc_cv_decl_needed_free=${gcc_cv_decl_needed_free=no}
gcc_cv_decl_needed_getcwd=${gcc_cv_decl_needed_getcwd=no}
gcc_cv_decl_needed_getenv=${gcc_cv_decl_needed_getenv=no}
gcc_cv_decl_needed_getrlimit=${gcc_cv_decl_needed_getrlimit=no}
gcc_cv_decl_needed_getwd=${gcc_cv_decl_needed_getwd=no}
gcc_cv_decl_needed_index=${gcc_cv_decl_needed_index=no}
gcc_cv_decl_needed_malloc=${gcc_cv_decl_needed_malloc=no}
gcc_cv_decl_needed_putc_unlocked=${gcc_cv_decl_needed_putc_unlocked=yes}
gcc_cv_decl_needed_realloc=${gcc_cv_decl_needed_realloc=no}
gcc_cv_decl_needed_rindex=${gcc_cv_decl_needed_rindex=no}
gcc_cv_decl_needed_sbrk=${gcc_cv_decl_needed_sbrk=no}
gcc_cv_decl_needed_setrlimit=${gcc_cv_decl_needed_setrlimit=no}
gcc_cv_decl_needed_strerror=${gcc_cv_decl_needed_strerror=no}
gcc_cv_decl_needed_strsignal=${gcc_cv_decl_needed_strsignal=yes}
gcc_cv_decl_needed_strstr=${gcc_cv_decl_needed_strstr=no}
gcc_cv_func_printf_ptr=${gcc_cv_func_printf_ptr=yes}
gcc_cv_header_inttypes_h=${gcc_cv_header_inttypes_h=no}
gcc_cv_header_string=${gcc_cv_header_string=yes}
gcc_cv_mkdir_takes_one_arg=${gcc_cv_mkdir_takes_one_arg=no}
gcc_cv_prog_LN=${gcc_cv_prog_LN=ln}
gcc_cv_prog_LN_S=${gcc_cv_prog_LN_S='ln -s'}
libiberty_cv_var_sys_errlist=${libiberty_cv_var_sys_errlist=yes}
libiberty_cv_var_sys_nerr=${libiberty_cv_var_sys_nerr=yes}
libiberty_cv_var_sys_siglist=${libiberty_cv_var_sys_siglist=yes}
nls_cv_force_use_gnu_gettext=${nls_cv_force_use_gnu_gettext=no}
nls_cv_header_intl=${nls_cv_header_intl=intl/libintl.h}
nls_cv_header_libgt=${nls_cv_header_libgt=intl/libgettext.h}
nls_cv_use_catgets=${nls_cv_use_catgets=no}
nls_cv_use_gnu_gettext=${nls_cv_use_gnu_gettext=yes}

*** gcc/ch/Makefile	Fri Oct 29 19:53:53 1999
--- gcc/ch/Makefile.org	Thu Oct 28 21:52:04 1999
***************
*** 271,277 ****
  OBJDEPS = ../stamp-objlist
  
  ../cc1chill$(exeext): $(P) $(CHILL_OBJS) $(OBJDEPS) $(LIBDEPS)
! 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) $(BOOT_LDFLAGS) -o $@ $(CHILL_OBJS) \
  	      $(OBJS) $(C_OBJS) $(LIBS)
  
  # This executable is used in the CHILL regression 
--- 271,277 ----
  OBJDEPS = ../stamp-objlist
  
  ../cc1chill$(exeext): $(P) $(CHILL_OBJS) $(OBJDEPS) $(LIBDEPS)
! 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(CHILL_OBJS) \
  	      $(OBJS) $(C_OBJS) $(LIBS)
  
  # This executable is used in the CHILL regression 

*** gcc/ch/Makefile.in	Fri Oct 29 20:21:08 1999
--- gcc/ch/Makefile.in.old	Wed Mar 31 09:47:58 1999
***************
*** 204,210 ****
  OBJDEPS = ../stamp-objlist
  
  ../cc1chill$(exeext): $(P) $(CHILL_OBJS) $(OBJDEPS) $(LIBDEPS)
! 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) $(BOOT_LDFLAGS) -o $@ $(CHILL_OBJS) \
  	      $(OBJS) $(C_OBJS) $(LIBS)
  
  # This executable is used in the CHILL regression 
--- 204,210 ----
  OBJDEPS = ../stamp-objlist
  
  ../cc1chill$(exeext): $(P) $(CHILL_OBJS) $(OBJDEPS) $(LIBDEPS)
! 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(CHILL_OBJS) \
  	      $(OBJS) $(C_OBJS) $(LIBS)
  
  # This executable is used in the CHILL regression 

*** gcc/cp/Makefile.in	Fri Oct 29 20:47:25 1999
--- gcc/cp/Makefile.in.old	Sun Jul 25 23:27:38 1999
***************
*** 196,202 ****
  
  compiler: ../cc1plus$(exeext)
  ../cc1plus$(exeext): $(P) $(OBJDEPS) $(CXX_OBJS) $(LIBDEPS)
! 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) $(BOOT_LDFLAGS) -o $@ $(OBJS) $(CXX_OBJS) $(LIBS)
  
  Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
  	cd ..; $(SHELL) config.status
--- 196,202 ----
  
  compiler: ../cc1plus$(exeext)
  ../cc1plus$(exeext): $(P) $(OBJDEPS) $(CXX_OBJS) $(LIBDEPS)
! 	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(CXX_OBJS) $(LIBS)
  
  Makefile: $(srcdir)/Makefile.in $(srcdir)/../configure
  	cd ..; $(SHELL) config.status



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