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]
Other format: [Raw text]

[Bug bootstrap/25543] New: Bootstrap fails with *** No rule to make target `../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a', needed by `build/genmodes'.


$ uname -a
Linux hertz 2.6.7-gentoo-r14 #8 SMP Mon Sep 6 16:08:44 BST 2004 x86_64 AMD
Opteron(tm) Processor 844 AuthenticAMD GNU/Linux

gcc-4.2.0 svn revision 108950.

$ cd build_hertz

$ rm -rf *

$ ../trunk/gcc/configure --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu
--prefix=/usr/local/gcc-svn --enable-languages=c,c++,fortran 
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking whether to place generated files in the source directory... no
checking whether a default linker was specified... no
checking whether a default assembler was specified... no
checking for x86_64-unknown-linux-gnu-gcc... x86_64-unknown-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-unknown-linux-gnu-gcc accepts -g... yes
checking for x86_64-unknown-linux-gnu-gcc option to accept ANSI C... none
needed
checking whether x86_64-unknown-linux-gnu-gcc and cc understand -c and -o
together... yes
checking how to run the C preprocessor... x86_64-unknown-linux-gnu-gcc -E
checking for inline... inline
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... 8
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for long long... yes
checking for long long... (cached) yes
checking size of long long... 8
checking for __int64... no
checking whether x86_64-unknown-linux-gnu-gcc accepts -Wno-long-long... yes
checking whether x86_64-unknown-linux-gnu-gcc accepts -Wno-variadic-macros...
yes
checking whether x86_64-unknown-linux-gnu-gcc accepts -Wold-style-definition...
yes
checking whether x86_64-unknown-linux-gnu-gcc accepts
-Wmissing-format-attribute... yes
checking valgrind.h usability... no
checking valgrind.h presence... no
checking for valgrind.h... no
checking whether make sets $(MAKE)... yes
checking for gawk... gawk
checking whether ln -s works... yes
checking whether ln works... yes
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for cmp's capabilities... gnucompare
checking for mktemp... yes
checking for makeinfo... makeinfo
checking for modern makeinfo... yes
checking for recent Pod::Man... yes
checking for flex... flex
checking for bison... bison
checking for nm... nm
checking for ar... ar
checking for GNU C library... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for limits.h... yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... yes
checking for iconv.h... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for sys/file.h... yes
checking for sys/time.h... yes
checking for sys/mman.h... yes
checking for sys/resource.h... yes
checking for sys/param.h... yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking for direct.h... no
checking for malloc.h... yes
checking for langinfo.h... yes
checking for ldfcn.h... no
checking for locale.h... yes
checking for wchar.h... yes
checking for thread.h... no
checking for pthread.h... yes
checking for CHAR_BIT... yes
checking whether byte ordering is bigendian... no
checking for collect2 libraries... none required
checking for library containing exc_resume... no
checking for library containing ldexp... none required
checking for inttypes.h... yes
checking for times... yes
checking for clock... yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoll... yes
checking for atoq... no
checking for sysconf... yes
checking for strsignal... yes
checking for getrusage... yes
checking for nl_langinfo... yes
checking for scandir... yes
checking for alphasort... yes
checking for gettimeofday... yes
checking for mbstowcs... yes
checking for wcswidth... yes
checking for mmap... yes
checking for mincore... yes
checking for setlocale... yes
checking for clearerr_unlocked... yes
checking for feof_unlocked... yes
checking for ferror_unlocked... yes
checking for fflush_unlocked... yes
checking for fgetc_unlocked... yes
checking for fgets_unlocked... yes
checking for fileno_unlocked... yes
checking for fprintf_unlocked... no
checking for fputc_unlocked... yes
checking for fputs_unlocked... yes
checking for fread_unlocked... yes
checking for fwrite_unlocked... yes
checking for getchar_unlocked... yes
checking for getc_unlocked... yes
checking for putchar_unlocked... yes
checking for putc_unlocked... yes
checking whether mbstowcs works... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for LC_MESSAGES... yes
checking for nl_langinfo and CODESET... yes
checking whether getenv is declared... yes
checking whether atol is declared... yes
checking whether asprintf is declared... yes
checking whether sbrk is declared... yes
checking whether abort is declared... yes
checking whether atof is declared... yes
checking whether getcwd is declared... yes
checking whether getwd is declared... yes
checking whether strsignal is declared... yes
checking whether strstr is declared... yes
checking whether strverscmp is declared... yes
checking whether errno is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether calloc is declared... yes
checking whether free is declared... yes
checking whether basename is declared... yes
checking whether getopt is declared... no
checking whether clock is declared... yes
checking whether getpagesize is declared... yes
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgetc_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fileno_unlocked is declared... yes
checking whether fprintf_unlocked is declared... no
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether getrlimit is declared... yes
checking whether setrlimit is declared... yes
checking whether getrusage is declared... yes
checking whether ldgetname is declared... no
checking whether times is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking for .preinit_array/.init_array/.fini_array support... yes
checking if mkdir takes one argument... no
Using `../trunk/gcc/config/i386/i386.c' for machine-specific logic.
Using `../trunk/gcc/config/i386/i386.md' as machine description file.
Using the following target machine macro files:
        ../trunk/gcc/config/i386/biarch64.h
        ../trunk/gcc/config/i386/i386.h
        ../trunk/gcc/config/i386/unix.h
        ../trunk/gcc/config/i386/att.h
        ../trunk/gcc/config/dbxelf.h
        ../trunk/gcc/config/elfos.h
        ../trunk/gcc/config/svr4.h
        ../trunk/gcc/config/linux.h
        ../trunk/gcc/config/i386/x86-64.h
        ../trunk/gcc/config/i386/linux64.h
Using host-linux.o for host machine hooks.
checking whether NLS is requested... no
checking what assembler to use...
/usr/local/gcc-svn/bin/x86_64-unknown-linux-gnu-as
checking what linker to use...
/usr/local/gcc-svn/bin/x86_64-unknown-linux-gnu-ld
checking what nm to use... /usr/bin/nm
checking what objdump to use...
/usr/local/gcc-svn/bin/x86_64-unknown-linux-gnu-objdump
checking assembler for .balign and .p2align... no
checking assembler for .p2align with maximum skip... no
checking assembler for working .subsection -1... no
checking assembler for .weak... no
checking assembler for .weakref... no
checking assembler for .nsubspa comdat... no
checking assembler for .hidden... no
checking linker for .hidden support... no
checking assembler for .sleb128 and .uleb128... no
checking assembler for eh_frame optimization... no
checking assembler for section merging support... no
checking assembler for section merging support... (cached) no
checking assembler for COMDAT group support... no
checking assembler for COMDAT group support... no
checking assembler for thread-local storage support... no
checking linker -Bstatic/-Bdynamic option... no
checking assembler for filds and fists mnemonics... no
checking assembler for cmov syntax... no
checking assembler for GOTOFF in data... no
checking assembler for dwarf2 debug_line support... no
checking assembler for buggy dwarf2 .file directive... no
checking assembler for --gdwarf2 option... no
checking assembler for --gstabs option... no
checking linker read-only and read-write section mixing... unknown
checking linker PT_GNU_EH_FRAME support... no
checking linker position independent executable support... no
checking linker --as-needed support... no
checking linker --sysroot support... no
checking __stack_chk_fail in target GNU C library... no
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a native compiler for x86_64-unknown-linux-gnu.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gccbug
config.status: creating mklibgcc
config.status: creating libada-mk
config.status: creating auto-host.h
config.status: executing default commands

$ make bootstrap
make CC="x86_64-unknown-linux-gnu-gcc" libdir=/usr/local/gcc-svn/lib
LANGUAGES="c " \
        CFLAGS="-g  -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING" \
        MAKEINFO="makeinfo" MAKEINFOFLAGS="--no-split" \
        COVERAGE_FLAGS= OBJS-onestep="tree-chrec.o tree-scalar-evolution.o
tree-data-ref.o tree-cfg.o tree-dfa.o tree-eh.o tree-ssa.o tree-optimize.o
tree-gimple.o gimplify.o tree-pretty-print.o tree-into-ssa.o tree-outof-ssa.o
tree-ssa-ccp.o tree-vn.o tree-ssa-uncprop.o tree-ssa-dce.o  tree-ssa-copy.o
tree-nrv.o tree-ssa-copyrename.o tree-ssa-pre.o tree-ssa-live.o
tree-ssa-operands.o tree-ssa-alias.o tree-ssa-phiopt.o tree-ssa-forwprop.o
tree-nested.o tree-ssa-dse.o tree-ssa-dom.o domwalk.o tree-tailcall.o
gimple-low.o tree-iterator.o tree-phinodes.o tree-ssanames.o tree-sra.o
tree-complex.o tree-vect-generic.o tree-ssa-loop.o tree-ssa-loop-niter.o
tree-ssa-loop-manip.o tree-ssa-threadupdate.o tree-vectorizer.o
tree-vect-analyze.o tree-vect-transform.o tree-ssa-loop-ivcanon.o
tree-ssa-propagate.o tree-ssa-address.o tree-ssa-math-opts.o
tree-ssa-loop-ivopts.o tree-if-conv.o tree-ssa-loop-unswitch.o alias.o
bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o
cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o
loop-init.o loop-unswitch.o loop-unroll.o cfgrtl.o combine.o conflict.o
convert.o coverage.o cse.o cselib.o dbxout.o ddg.o tree-ssa-loop-ch.o
loop-invariant.o tree-ssa-loop-im.o debug.o df.o dfp.o diagnostic.o dojump.o
dominance.o loop-doloop.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.o
loop-iv.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o
genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hooks.o
ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o insn-extract.o insn-opinit.o
insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o  langhooks.o
lcm.o lists.o local-alloc.o loop.o mode-switching.o modulo-sched.o optabs.o
options.o opts.o params.o postreload.o postreload-gcse.o predict.o insn-preds.o
pointer-set.o print-rtl.o print-tree.o profile.o value-prof.o var-tracking.o
real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o
reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o
sched-ebb.o sched-rgn.o sched-vis.o sdbout.o simplify-rtx.o sreal.o stmt.o
stor-layout.o stringpool.o struct-equiv.o targhooks.o timevar.o toplev.o
tracer.o tree.o tree-dump.o varasm.o varray.o vec.o version.o vmsdbgout.o
xcoffout.o alloc-pool.o et-forest.o cfghooks.o bt-load.o pretty-print.o
ggc-page.o web.o passes.o tree-profile.o rtlhooks.o cfgexpand.o lambda-mat.o
lambda-trans.o        lambda-code.o tree-loop-linear.o tree-ssa-sink.o
tree-vrp.o tree-stdarg.o tree-cfgcleanup.o tree-ssa-reassoc.o
tree-ssa-structalias.o tree-object-size.o i386.o  host-linux.o tree-inline.o
cgraph.o cgraphunit.o tree-nomudflap.o ipa.o ipa-inline.o ipa-utils.o
ipa-reference.o ipa-pure-const.o ipa-type-escape.o ipa-prop.o ipa-cp.o"
make[1]: Entering directory `/hertz/roger/src/gcc-svn/build_hertz'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../trunk/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h config/i386/biarch64.h config/i386/i386.h config/i386/unix.h
config/i386/att.h config/dbxelf.h config/elfos.h config/svr4.h config/linux.h
config/i386/x86-64.h config/i386/linux64.h defaults.h" DEFINES="" \
/bin/sh ../trunk/gcc/mkconfig.sh tm.h
gawk -f ../trunk/gcc/opt-gather.awk ../trunk/gcc/fortran/lang.opt
../trunk/gcc/c.opt ../trunk/gcc/common.opt ../trunk/gcc/config/i386/i386.opt >
tmp-optionlist
/bin/sh ../trunk/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
gawk -f ../trunk/gcc/opt-functions.awk -f ../trunk/gcc/opth-gen.awk \
       < optionlist > tmp-options.h
/bin/sh ../trunk/gcc/../move-if-change tmp-options.h options.h
echo timestamp > s-options-h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../trunk/gcc/mkconfig.sh bconfig.h
x86_64-unknown-linux-gnu-gcc -c   -g  -DENABLE_CHECKING
-DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute
-fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../trunk/gcc
-I../trunk/gcc/build -I../trunk/gcc/../include -I../trunk/gcc/../libcpp/include
 -I../trunk/gcc/../libdecnumber    -o build/genmodes.o ../trunk/gcc/genmodes.c
x86_64-unknown-linux-gnu-gcc -c   -g  -DENABLE_CHECKING
-DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute
-fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../trunk/gcc
-I../trunk/gcc/build -I../trunk/gcc/../include -I../trunk/gcc/../libcpp/include
 -I../trunk/gcc/../libdecnumber    -o build/errors.o ../trunk/gcc/errors.c
make[1]: *** No rule to make target
`../build-x86_64-unknown-linux-gnu/libiberty/libiberty.a', needed by
`build/genmodes'.  Stop.
make[1]: Leaving directory `/hertz/roger/src/gcc-svn/build_hertz'
make: *** [stage1_build] Error 2
$

I last tried building this on this platform when the source was still on cvs,
at version 4.1.0 20051016, and that was successful. 

This same source tree builds successfully on i686.

Just in case it makes any difference: the gcc configure found is:

$ x86_64-unknown-linux-gnu-gcc --version
x86_64-unknown-linux-gnu-gcc (GCC) 4.1.0 20051016 (experimental)


-- 
           Summary: Bootstrap fails with  *** No rule to make target
                    `../build-x86_64-unknown-linux-
                    gnu/libiberty/libiberty.a', needed by `build/genmodes'.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: eesrjhc at bath dot ac dot uk
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25543


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