This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Early build failure on sparc-sun-solaris2.8
Phil Edwards wrote:
> Sanity check (call me paranoid): what happens if you don't have '=' in
> your build directory name?
Then you get the following. I believe Alexandre only found that
to be a problem on a machine that refused non-POSIX characters.
(those being "A-Za-z0-9_.-")
Anyway, the build breaks in this way with or without "bootstrap"
and for both mainline and 3.0 branch. I confess to being a bit
curious about those values that look like unconfigured strings.
viz. "@shlib_base_name@" and such. Do they get sedded away somehow?
/bin/sh ../../gcc/gcc/move-if-change tmp-mlib.h multilib.h
echo timestamp > s-mlib
(SHLIB_LINK='/u/bkorb/tools/gcc/BLD/gcc/xgcc
-B/u/bkorb/tools/gcc/BLD/gcc/ -B/u/local/sparc-sun-solaris2.8/bin/
-B/u/local/sparc-sun-solaris2.8/lib/ -isystem
/u/local/sparc-sun-solaris2.8/include -O2 -DIN_GCC -DSVR4 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs
-Wl,-h,@shlib_base_name@.so.0 -Wl,-z,text -Wl,-z,defs
-Wl,-M,@shlib_map_file@ -o @shlib_base_name@.so @multilib_flags@
@shlib_objs@ -lc && rm -f @shlib_base_name@.so.0 && ln -s
@shlib_base_name@.so @shlib_base_name@.so.0' \
SHLIB_MULTILIB=''; \
gcc -DIN_GCC -DSVR4 -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
-Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc
-I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\"
-DSTANDARD_EXEC_PREFIX=\"/u/local/lib/gcc-lib/\"
-DDEFAULT_TARGET_VERSION=\"3.0\"
-DDEFAULT_TARGET_MACHINE=\"sparc-sun-solaris2.8\"
-DSTANDARD_BINDIR_PREFIX=\"/u/local/bin/\"
-DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "${SHLIB_LINK}" -a "yes" =
"yes" && echo "-DENABLE_SHARED_LIBGCC"` `test "${SHLIB_MULTILIB}" &&
echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
-c ../../gcc/gcc/gcc.c)
*** Error code 1
make: Fatal error: Command failed for target `gcc.o'
Current working directory /u/bkorb/tools/gcc/BLD/gcc
*** Error code 1
make: Fatal error: Command failed for target `all-gcc'