This is the mail archive of the gcc@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]

failed to build gcc 3.4.1 on macosx 10.2.8


Hello...

I've been trying to compile gcc-3.4.1 on a fairly fresh install of macosx 10.2.8.
and was referred to this address by someone on #gnu.


The current gcc installed is:
bash-2.05a$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)


I've installed gnu libiconv and gnu gettext and recompiled that particular circular dependancy and then tried my hands at a new gcc.

After configuring with :
bash-2.05a$ ../gcc/configure --enable-altivec

(the first time.... and after reading about libiberty..)
I tried :
bash-2.05a$ ../gcc/configure --enable-altivec --enable-install-libiberty

Both times I got the same errors which consisted of a whole lot of:
..... warning: style of line directive is a GCC extension

followed by a final:
make: *** No rule to make target `../libiberty/libiberty.a', needed by `genmodes'. Stop.


If you or anyone who reads this email could assist me with this, I would be most grateful. I'll include the entirety of the configure and make output below this message.

Thank you for any help.
~Israel~

------- Long output follows

bash-2.05a$ ../gcc/configure --enable-altivec --enable-install-libiberty
checking build system type... powerpc-apple-darwin6.8
checking host system type... powerpc-apple-darwin6.8
checking target system type... powerpc-apple-darwin6.8
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 gcc... gcc
checking for C compiler default output... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking whether gcc accepts -Wno-long-long... yes
checking how to run the C preprocessor... gcc -E
checking for inline... inline
checking for long long int... yes
checking for __int64... no
checking for built-in _Bool... yes
checking size of void *... 4
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for gnatbind... no
checking whether compiler driver understands Ada... no
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 valgrind.h usability... no
checking valgrind.h presence... no
checking for valgrind.h... no
checking whether make sets $(MAKE)... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether ln works... yes
checking whether ln -s works... yes
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... no
checking for flex... flex
checking for bison... bison
checking for GNU C library... no
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for working stdbool.h... 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 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... no
checking for sys/resource.h... no
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... no
checking for langinfo.h... no
checking for ldfcn.h... no
checking for locale.h... yes
checking for wchar.h... no
checking for thread.h... no
checking for pthread.h... yes
checking for CHAR_BIT... yes
checking whether byte ordering is bigendian... yes
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 dup2... yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoll... no
checking for atoq... no
checking for sysconf... yes
checking for strsignal... no
checking for putc_unlocked... no
checking for fputc_unlocked... no
checking for fputs_unlocked... no
checking for fwrite_unlocked... no
checking for fprintf_unlocked... no
checking for getrusage... yes
checking for nl_langinfo... no
checking for scandir... yes
checking for alphasort... yes
checking for gettimeofday... yes
checking for mbstowcs... yes
checking for wcswidth... no
checking for mmap... yes
checking for mincore... yes
checking for setlocale... 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 whether the printf functions support %p... 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 iconv.h... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for LC_MESSAGES... yes
checking whether getenv is declared... yes
checking whether atol 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 putc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether fprintf_unlocked is declared... no
checking whether strstr is declared... yes
checking whether errno is declared... yes
checking whether snprintf 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... no
checking whether getopt is declared... yes
checking whether clock is declared... yes
checking whether getrlimit is declared... no
checking whether setrlimit is declared... no
checking whether getrusage is declared... no
checking whether ldgetname is declared... no
checking whether times is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking for uchar...
checking for .preinit_array/.init_array/.fini_array support... no
checking if mkdir takes one argument... no
checking for main in -lunwind... no
Using `../gcc/config/rs6000/rs6000.c' for machine-specific logic.
Using `../gcc/config/rs6000/rs6000.md' as machine description file.
Using the following target machine macro files:
../gcc/config/rs6000/rs6000.h
../gcc/config/darwin.h
../gcc/config/rs6000/darwin.h
../gcc/config/rs6000/altivec-defs.h
Using host-darwin.o for host machine hooks.
checking whether NLS is requested... no
checking what assembler to use... /usr/bin/as
checking what linker to use... /usr/bin/ld
checking what nm to use... nm
checking what objdump to use... 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 .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 thread-local storage support... no
checking assembler for mfcr field support... 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
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
checking for the document directory.
Links are now set up to build a native compiler for powerpc-apple-darwin6.8.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fixinc/Makefile
config.status: creating gccbug
config.status: creating mklibgcc
config.status: creating mkheaders
config.status: creating auto-host.h
config.status: auto-host.h is unchanged
config.status: executing default commands
bash-2.05a$ make
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="config/rs6000/rs6000.h config/darwin.h config/rs6000/darwin.h config/rs6000/altivec-defs.h defaults.h" DEFINES="" \
/bin/sh ../gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../gcc/mkconfig.sh bconfig.h
gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../gcc -I../gcc/. -I../gcc/../include ../gcc/genmodes.c -o genmodes.o
/var/tmp/ccIpxx4e.i:1:3: warning: style of line directive is a GCC extension
../gcc/genmodes.c:2:3: warning: style of line directive is a GCC extension
../gcc/genmodes.c:22:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:22:
./bconfig.h:3:3: warning: style of line directive is a GCC extension
In file included from ./bconfig.h:3,
from ../gcc/genmodes.c:22:
./auto-host.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:22:
./bconfig.h:5:3: warning: style of line directive is a GCC extension
In file included from ./bconfig.h:5,
from ../gcc/genmodes.c:22:
../gcc/../include/ansidecl.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:22:
./bconfig.h:6:3: warning: style of line directive is a GCC extension
../gcc/genmodes.c:23:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:23:
../gcc/system.h:2:3: warning: style of line directive is a GCC extension
../gcc/system.h:28:3: warning: style of line directive is a GCC extension
../gcc/system.h:39:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/types.h:30,
from /usr/include/stddef.h:63,
from ../gcc/system.h:39,
from ../gcc/genmodes.c:23:
/usr/include/ppc/types.h:2:3: warning: style of line directive is a GCC extension
/usr/include/ppc/types.h:64:3: warning: style of line directive is a GCC extension
/usr/include/ppc/types.h:82:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/ansi.h:33,
from /usr/include/stddef.h:64,
from ../gcc/system.h:39,
from ../gcc/genmodes.c:23:
/usr/include/ppc/ansi.h:2:3: warning: style of line directive is a GCC extension
/usr/include/ppc/ansi.h:96:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:23:
../gcc/system.h:42:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/endian.h:30,
from /usr/include/sys/types.h:75,
from /usr/include/stdio.h:64,
from ../gcc/system.h:42,
from ../gcc/genmodes.c:23:
/usr/include/ppc/endian.h:2:3: warning: style of line directive is a GCC extension
/usr/include/ppc/endian.h:86:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:23:
../gcc/system.h:43:3: warning: style of line directive is a GCC extension
../gcc/system.h:107:3: warning: style of line directive is a GCC extension
../gcc/system.h:111:3: warning: style of line directive is a GCC extension
../gcc/system.h:122:3: warning: style of line directive is a GCC extension
../gcc/system.h:123:3: warning: style of line directive is a GCC extension
../gcc/system.h:135:3: warning: style of line directive is a GCC extension
../gcc/system.h:136:3: warning: style of line directive is a GCC extension
../gcc/system.h:158:3: warning: style of line directive is a GCC extension
../gcc/system.h:162:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/param.h:30,
from /usr/include/sys/param.h:102,
from ../gcc/system.h:162,
from ../gcc/genmodes.c:23:
/usr/include/ppc/param.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:23:
../gcc/system.h:168:3: warning: style of line directive is a GCC extension
../gcc/system.h:172:3: warning: style of line directive is a GCC extension
In file included from ../gcc/system.h:172,
from ../gcc/genmodes.c:23:
../gcc/hwint.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:23:
../gcc/system.h:173:3: warning: style of line directive is a GCC extension
../gcc/system.h:201:3: warning: style of line directive is a GCC extension
../gcc/system.h:214:3: warning: style of line directive is a GCC extension
../gcc/system.h:215:3: warning: style of line directive is a GCC extension
../gcc/system.h:252:3: warning: style of line directive is a GCC extension
../gcc/system.h:253:3: warning: style of line directive is a GCC extension
../gcc/system.h:357:3: warning: style of line directive is a GCC extension
../gcc/system.h:383:3: warning: style of line directive is a GCC extension
../gcc/system.h:384:3: warning: style of line directive is a GCC extension
../gcc/system.h:469:3: warning: style of line directive is a GCC extension
In file included from ../gcc/system.h:469,
from ../gcc/genmodes.c:23:
../gcc/../include/filenames.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:23:
../gcc/system.h:480:3: warning: style of line directive is a GCC extension
In file included from ../gcc/system.h:480,
from ../gcc/genmodes.c:23:
../gcc/../include/libiberty.h:2:3: warning: style of line directive is a GCC extension
../gcc/../include/libiberty.h:48:3: warning: style of line directive is a GCC extension
../gcc/../include/libiberty.h:305:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:23:
../gcc/system.h:481:3: warning: style of line directive is a GCC extension
../gcc/system.h:534:3: warning: style of line directive is a GCC extension
../gcc/system.h:535:3: warning: style of line directive is a GCC extension
../gcc/system.h:588:3: warning: style of line directive is a GCC extension
../gcc/system.h:611:3: warning: style of line directive is a GCC extension
../gcc/system.h:660:3: warning: style of line directive is a GCC extension
../gcc/genmodes.c:24:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:24:
../gcc/errors.h:2:3: warning: style of line directive is a GCC extension
../gcc/errors.h:43:3: warning: style of line directive is a GCC extension
../gcc/genmodes.c:25:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:25:
../gcc/../include/hashtab.h:2:3: warning: style of line directive is a GCC extension
../gcc/../include/hashtab.h:188:3: warning: style of line directive is a GCC extension
../gcc/genmodes.c:29:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:29:
../gcc/mode-classes.def:2:3: warning: style of line directive is a GCC extension
../gcc/genmodes.c:242:3: warning: style of line directive is a GCC extension
../gcc/genmodes.c:642:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:642:
../gcc/machmode.def:2:3: warning: style of line directive is a GCC extension
../gcc/machmode.def:182:3: warning: style of line directive is a GCC extension
In file included from ../gcc/machmode.def:182,
from ../gcc/genmodes.c:642:
../gcc/config/rs6000/rs6000-modes.def:2:3: warning: style of line directive is a GCC extension
../gcc/config/rs6000/rs6000-modes.def:41:3: warning: style of line directive is a GCC extension
In file included from ../gcc/genmodes.c:642:
../gcc/machmode.def:218:3: warning: style of line directive is a GCC extension
gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../gcc -I../gcc/. -I../gcc/../include ../gcc/errors.c -o errors.o
/var/tmp/ccVIKkrB.i:1:3: warning: style of line directive is a GCC extension
../gcc/errors.c:2:3: warning: style of line directive is a GCC extension
../gcc/errors.c:26:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:26:
./config.h:3:3: warning: style of line directive is a GCC extension
In file included from ./config.h:3,
from ../gcc/errors.c:26:
./auto-host.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:26:
./config.h:5:3: warning: style of line directive is a GCC extension
In file included from ./config.h:5,
from ../gcc/errors.c:26:
../gcc/../include/ansidecl.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:26:
./config.h:6:3: warning: style of line directive is a GCC extension
../gcc/errors.c:27:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:27:
../gcc/system.h:2:3: warning: style of line directive is a GCC extension
../gcc/system.h:28:3: warning: style of line directive is a GCC extension
../gcc/system.h:39:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/types.h:30,
from /usr/include/stddef.h:63,
from ../gcc/system.h:39,
from ../gcc/errors.c:27:
/usr/include/ppc/types.h:2:3: warning: style of line directive is a GCC extension
/usr/include/ppc/types.h:64:3: warning: style of line directive is a GCC extension
/usr/include/ppc/types.h:82:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/ansi.h:33,
from /usr/include/stddef.h:64,
from ../gcc/system.h:39,
from ../gcc/errors.c:27:
/usr/include/ppc/ansi.h:2:3: warning: style of line directive is a GCC extension
/usr/include/ppc/ansi.h:96:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:27:
../gcc/system.h:42:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/endian.h:30,
from /usr/include/sys/types.h:75,
from /usr/include/stdio.h:64,
from ../gcc/system.h:42,
from ../gcc/errors.c:27:
/usr/include/ppc/endian.h:2:3: warning: style of line directive is a GCC extension
/usr/include/ppc/endian.h:86:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:27:
../gcc/system.h:43:3: warning: style of line directive is a GCC extension
../gcc/system.h:107:3: warning: style of line directive is a GCC extension
../gcc/system.h:111:3: warning: style of line directive is a GCC extension
../gcc/system.h:122:3: warning: style of line directive is a GCC extension
../gcc/system.h:123:3: warning: style of line directive is a GCC extension
../gcc/system.h:135:3: warning: style of line directive is a GCC extension
../gcc/system.h:136:3: warning: style of line directive is a GCC extension
../gcc/system.h:158:3: warning: style of line directive is a GCC extension
../gcc/system.h:162:3: warning: style of line directive is a GCC extension
In file included from /usr/include/machine/param.h:30,
from /usr/include/sys/param.h:102,
from ../gcc/system.h:162,
from ../gcc/errors.c:27:
/usr/include/ppc/param.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:27:
../gcc/system.h:168:3: warning: style of line directive is a GCC extension
../gcc/system.h:172:3: warning: style of line directive is a GCC extension
In file included from ../gcc/system.h:172,
from ../gcc/errors.c:27:
../gcc/hwint.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:27:
../gcc/system.h:173:3: warning: style of line directive is a GCC extension
../gcc/system.h:201:3: warning: style of line directive is a GCC extension
../gcc/system.h:214:3: warning: style of line directive is a GCC extension
../gcc/system.h:215:3: warning: style of line directive is a GCC extension
../gcc/system.h:252:3: warning: style of line directive is a GCC extension
../gcc/system.h:253:3: warning: style of line directive is a GCC extension
../gcc/system.h:357:3: warning: style of line directive is a GCC extension
../gcc/system.h:383:3: warning: style of line directive is a GCC extension
../gcc/system.h:384:3: warning: style of line directive is a GCC extension
../gcc/system.h:469:3: warning: style of line directive is a GCC extension
In file included from ../gcc/system.h:469,
from ../gcc/errors.c:27:
../gcc/../include/filenames.h:2:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:27:
../gcc/system.h:480:3: warning: style of line directive is a GCC extension
In file included from ../gcc/system.h:480,
from ../gcc/errors.c:27:
../gcc/../include/libiberty.h:2:3: warning: style of line directive is a GCC extension
../gcc/../include/libiberty.h:48:3: warning: style of line directive is a GCC extension
../gcc/../include/libiberty.h:305:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:27:
../gcc/system.h:481:3: warning: style of line directive is a GCC extension
../gcc/system.h:534:3: warning: style of line directive is a GCC extension
../gcc/system.h:535:3: warning: style of line directive is a GCC extension
../gcc/system.h:588:3: warning: style of line directive is a GCC extension
../gcc/system.h:611:3: warning: style of line directive is a GCC extension
../gcc/system.h:660:3: warning: style of line directive is a GCC extension
../gcc/errors.c:28:3: warning: style of line directive is a GCC extension
In file included from ../gcc/errors.c:28:
../gcc/errors.h:2:3: warning: style of line directive is a GCC extension
../gcc/errors.h:43:3: warning: style of line directive is a GCC extension
make: *** No rule to make target `../libiberty/libiberty.a', needed by `genmodes'. Stop.



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