[Bug bootstrap/28864] bootstrapping fails when building from non-/bin/sh-compatible shell

2006-09-03 Thread georg dot schwarz at freenet dot de


--- Comment #3 from georg dot schwarz at freenet dot de  2006-09-03 14:25 
---
Unfortunately gcc 4.X.X for MIPS now requires GNU binutils as. However this
triggers gcc bug #16253 on IRIX 5.3, so neither gcc 4.0.3 nor gcc 4.1.1
compiles on IRIX 5.3.


-- 

georg dot schwarz at freenet dot de changed:

   What|Removed |Added

 Status|WAITING |UNCONFIRMED


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



[Bug bootstrap/28864] New: bootstrapping fails when building from non-/bin/sh-compatible shell

2006-08-27 Thread georg dot schwarz at freenet dot de
For bootstrapping gcc 3.4.6 I have configured it the follwing way:

env CONFIG_SHELL=/bin/ksh /usr/local/tmp/gcc-3.4.6/configure
--prefix=/usr/local --with-ld=/usr/bin/ld --with-as=/usr/bin/as
--enable-languages=c

Building (using GNU make) then ends up like this:

if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp  specs.ready; \
fi
(MAKE=/usr/local/pkg/bin/gmake; srcdir=`cd
/usr/local/tmp/gcc-3.4.6/gcc/fixinc  ${PWDCMD-pwd}` ; \
CC=cc; CFLAGS=  -g -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE;
LDFLAGS=; \
WARN_CFLAGS=; LIBERTY=`${PWDCMD-pwd}`/../libiberty/libiberty.a; \
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \
cd ./fixinc  \
/bin/ksh ${srcdir}/mkfixinc.sh mips-sgi-irix5.3 mips-sgi-irix5.3)
constructing ../fixinc.sh for mips-sgi-irix5.3 to run on mips-sgi-irix5.3
/usr/local/pkg/bin/gmake TARGETS=oneprocess SHELL=/bin/tcsh CC=cc CFLAGS=
-g -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE LDFLAGS=
LIBERTY=/usr/local/tmp/b/gcc/../libiberty/libiberty.a install-bin
gmake[2]: Entering directory `/usr/local/tmp/b/gcc/fixinc'
/bin/tcsh /usr/local/tmp/gcc-3.4.6/gcc/fixinc/genfixes machname.h
SHELL=/bin/sh: Command not found.
export: Command not found.
if: Expression Syntax.
gmake[2]: *** [machname.h] Error 1
gmake[2]: Leaving directory `/usr/local/tmp/b/gcc/fixinc'
gmake[1]: *** [fixinc.sh] Error 2
gmake[1]: Leaving directory `/usr/local/tmp/b/gcc'
gmake: *** [all-gcc] Error 2


The reason is found in gcc-3.4.6/gcc/fixinc/mkfixinc.sh which has:

defs=SHELL=\$SHELL\ CC=\$CC\ CFLAGS=\$CFLAGS\ LDFLAGS=\$LDFLAGS\
LIBERTY=\$LIBERTY\


SHELL in my case is the shell I started the build from, /bin/tcsh.
The script that gets called later on, gcc-3.4.6/gcc/fixinc/genfixes, assumes a
/bin/sh-compatible shell though.

To work around the issue one can call GNU make with the SHELL set to /bin/sh or
 /bin/ksh.
To fix this one might change SHELL=\$SHELL\ into SHELL=\$CONFIG_SHELL\ in
gcc-3.4.6/gcc/fixinc/genfixes, assuming CONFIG_SHELL must necessarily be a
/bin/sh-compatible shell.


-- 
   Summary: bootstrapping fails when building from non-/bin/sh-
compatible shell
   Product: gcc
   Version: 3.4.6
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: georg dot schwarz at freenet dot de
 GCC build triplet: mips-sgi-irix5.3
  GCC host triplet: mips-sgi-irix5.3
GCC target triplet: mips-sgi-irix5.3


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



[Bug bootstrap/28864] bootstrapping fails when building from non-/bin/sh-compatible shell

2006-08-27 Thread georg dot schwarz at freenet dot de


--- Comment #2 from georg dot schwarz at freenet dot de  2006-08-27 19:04 
---
Subject: Re:  bootstrapping fails when building from non-/bin/sh-compatible
shell


Am 27.08.2006 um 20:50 schrieb pinskia at gcc dot gnu dot org:



 --- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-27  
 18:50 ---
 Actually this is a bug in the make version you are using because a  
 SHELL inside

it's GNU Make 3.81. Is this a known issue, or are you just assuming  
it's a bug?

 make should and will always be a sh-compatible shell.

 Also this works for me as I use the tcsh as my shell.

strange. I can easily reproduce the behavior I reported.


 One more question, since you are using 3.4.6, can you try 4.0.3  
 instead as
 3.4.x is no longer being maintained?

I will, but I think there were some other issues that prevented me  
from boostrapping 4.X on IRIX 5.


-- 


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



[Bug other/23253] New: copyright year still at 2004

2005-08-05 Thread georg dot schwarz at freenet dot de
/usr/local/bin/gcc --version
gcc (GCC) 3.4.4
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


This should be 2005, shouldn't it?

-- 
   Summary: copyright year still at 2004
   Product: gcc
   Version: 3.4.4
Status: UNCONFIRMED
  Severity: minor
  Priority: P2
 Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: georg dot schwarz at freenet dot de
CC: gcc-bugs at gcc dot gnu dot org,georg dot schwarz at
freenet dot de


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


[Bug bootstrap/23116] New: mangle_decl() and others incorrectly declared in gcc/cp/cp-tree.h

2005-07-28 Thread georg dot schwarz at freenet dot de
/gcc/cp/cp-tree.h'
 mangle_guard_variable (const tree variable)
 ^
cfe: Error: /usr/people/schwarz/gcc-3.4.4/gcc/cp/mangle.c, line 2723: 
Incompatible type for the function parameter
 mangle_guard_variable (const tree variable)
 --^
cfe: Error: /usr/people/schwarz/gcc-3.4.4/gcc/cp/mangle.c, line 2741: 
redeclaration of 'mangle_ref_init_variable'; previous declaration at line 4308 
in file '/usr/people/schwarz/gcc-3.4.4/gcc/cp/cp-tree.h'
 mangle_ref_init_variable (const tree variable)
 ^
cfe: Error: /usr/people/schwarz/gcc-3.4.4/gcc/cp/mangle.c, line 2741: 
Incompatible type for the function parameter
 mangle_ref_init_variable (const tree variable)
 -^
gmake[1]: *** [cp/mangle.o] Error 1
gmake[1]: Leaving directory `/usr/people/schwarz/gcc/gcc'
gmake: *** [all-gcc] Error 2

The following patch fixes things:

--- gcc-3.4.4/gcc/cp/cp-tree.h.orig 2005-07-28 20:29:00.0 +0200
+++ gcc-3.4.4/gcc/cp/cp-tree.h  2005-07-28 20:42:36.0 +0200
@@ -4294,18 +4294,18 @@
 
 /* in mangle.c */
 extern void init_mangle (void);
-extern void mangle_decl (tree);
-extern const char *mangle_type_string   (tree);
-extern tree mangle_type (tree);
-extern tree mangle_typeinfo_for_type(tree);
-extern tree mangle_typeinfo_string_for_type (tree);
-extern tree mangle_vtbl_for_type(tree);
-extern tree mangle_vtt_for_type (tree);
-extern tree mangle_ctor_vtbl_for_type   (tree, tree);
-extern tree mangle_thunk(tree, int, tree, tree);
-extern tree mangle_conv_op_name_for_type(tree);
-extern tree mangle_guard_variable   (tree);
-extern tree mangle_ref_init_variable(tree);
+extern void mangle_decl (const tree);
+extern const char *mangle_type_string   (const tree);
+extern tree mangle_type (const tree);
+extern tree mangle_typeinfo_for_type(const tree);
+extern tree mangle_typeinfo_string_for_type (const tree);
+extern tree mangle_vtbl_for_type(const tree);
+extern tree mangle_vtt_for_type (const tree);
+extern tree mangle_ctor_vtbl_for_type   (const tree, const tree);
+extern tree mangle_thunk(tree, const int, tree, tree);
+extern tree mangle_conv_op_name_for_type(const tree);
+extern tree mangle_guard_variable   (const tree);
+extern tree mangle_ref_init_variable(const tree);
 
 /* in dump.c */
 extern bool cp_dump_tree (void *, tree);

-- 
   Summary: mangle_decl() and others incorrectly declared in
gcc/cp/cp-tree.h
   Product: gcc
   Version: 3.4.4
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: georg dot schwarz at freenet dot de
CC: gcc-bugs at gcc dot gnu dot org,georg dot schwarz at
freenet dot de
 GCC build triplet: mips-sgi-irix5.3
  GCC host triplet: mips-sgi-irix5.3
GCC target triplet: mips-sgi-irix5.3


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


[Bug bootstrap/19852] Segmentation fault during: build/genmodes -h tmp-modes.h

2005-04-23 Thread georg dot schwarz at freenet dot de

--- Additional Comments From georg dot schwarz at freenet dot de  
2005-04-23 16:11 ---
I am seeing the same problem trying to bootstrap gcc-4.0.0 on IRIX 5.3:

...
/bin/ksh /usr/people/schwarz/gcc-4.0.0/gcc/mkconfig.sh bconfig.h
cc -c   -g  -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE-I. -Ibuild 
-I/usr/people/schwarz/gcc-4.0.0/gcc -I/usr/people/schwarz/gcc-4.0.0/gcc/build 
-I/usr/people/schwarz/gcc-4.0.0/gcc/../include -I./../intl 
-I/usr/people/schwarz/gcc-4.0.0/gcc/../libcpp/include  \
 -o build/genmodes.o /usr/people/schwarz/gcc-4.0.0/gcc/genmodes.c
cc -c   -g  -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE-I. -Ibuild 
-I/usr/people/schwarz/gcc-4.0.0/gcc -I/usr/people/schwarz/gcc-4.0.0/gcc/build 
-I/usr/people/schwarz/gcc-4.0.0/gcc/../include -I./../intl 
-I/usr/people/schwarz/gcc-4.0.0/gcc/../libcpp/include  \
 -o build/errors.o /usr/people/schwarz/gcc-4.0.0/gcc/errors.c
cc   -g  -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genmodes \
 build/genmodes.o build/errors.o ../build-mips-sgi-irix5.3/libiberty/libiberty.a
build/genmodes -h  tmp-modes.h
gmake[1]: *** [s-modes] Segmentation fault (core dumped)
gmake[1]: Leaving directory `/usr/people/schwarz/gcc/gcc'
gmake: *** [all-gcc] Error 2




-- 


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


[Bug c/20732] New: compiling GNU readline 5.0 yields gcc segmentation fault

2005-04-02 Thread georg dot schwarz at freenet dot de
When compiling GNU readline 5.0 on a Debian Linux system (Pentium) using gcc 
3.3.5 I get:

gcc -c -DHAVE_CONFIG_H -I. vi_mode.c  -o .libs/vi_mode.o
vi_mode.c: In function `rl_vi_prev_word':
vi_mode.c:340: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

-- 
   Summary: compiling GNU readline 5.0 yields gcc segmentation fault
   Product: gcc
   Version: 3.3.5
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: georg dot schwarz at freenet dot de
CC: gcc-bugs at gcc dot gnu dot org,georg dot schwarz at
freenet dot de
  GCC host triplet: i386-linux-unknown


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


[Bug c/20732] compiling GNU readline 5.0 yields gcc segmentation fault

2005-04-02 Thread georg dot schwarz at freenet dot de

--- Additional Comments From georg dot schwarz at freenet dot de  
2005-04-02 18:08 ---
I am sorry, the issue must have been caused by a hardware problem.
After the machine had been switched off for a few hours the problem can
no longer be reproduced, and GNU readline builds fine. I am sorry for
the irritations. Please feel free to close this bug report.

-- 


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


[Bug other/18461] New: gmake test fails with libg2c.so.1 not found

2004-11-13 Thread georg dot schwarz at freenet dot de
after a successful gmake bootstrap on IRIX 5.3 a consequent gmake check ends up 
with:

gmake[2]: Entering directory 
`/usr/people/schwarz/gccb/mips-sgi-irix5.3/libf2c/libU77'
../../../gcc/g77 -B../../../gcc/ -L.. -g 
../../../../gcc-3.4.3/libf2c/libU77/u77-test.f \
-lg2c  -lm -o a.out  ./a.out
../../../../gcc-3.4.3/libf2c/libU77/u77-test.f:0: note: -g is only supported 
using GNU as,
../../../../gcc-3.4.3/libf2c/libU77/u77-test.f:0: note: -g option disabled
../../../../gcc-3.4.3/libf2c/libU77/u77-test.f: In program `MAIN__':
../../../../gcc-3.4.3/libf2c/libU77/u77-test.f:214: warning:
 call idate (i,j,k)
  ^
Intrinsic `IDATE', invoked at (^), known to be non-Y2K-compliant [info -f g77 M 
Y2KBAD]
../../../../gcc-3.4.3/libf2c/libU77/u77-test.f:223: warning:
 call date (ctim)
  ^
Intrinsic `DATE', invoked at (^), known to be non-Y2K-compliant [info -f g77 M 
Y2KBAD]
 1564:./a.out: rld: Fatal Error: cannot map soname 'libg2c.so.1' using any of 
the filenames 
/usr/people/schwarz/gccb/bfd/libg2c.so.1:/usr/people/schwarz/gccb/opcodes/libg2c.so.1:/usr/people/schwarz/gccb/mips-sgi-irix5.3/libstdc++-v3/src/.libs/libg2c.so.1:/usr/people/schwarz/gccb/gcc/libg2c.so.1:/usr/lib/libg2c.so.1:/lib/libg2c.so.1:/lib/cmplrs/cc/libg2c.so.1:/usr/lib/cmplrs/cc/libg2c.so.1:/usr/people/schwarz/gccb/bfd/libg2c.so.1.1:/usr/people/schwarz/gccb/opcodes/libg2c.so.1.1:/usr/people/schwarz/gccb/mips-sgi-irix5.3/libstdc++-v3/src/.libs/libg2c.so.1.1:/usr/people/schwarz/gccb/gcc/libg2c.so.1.1:/usr/lib/libg2c.so.1.1:/lib/libg2c.so.1.1:/lib/cmplrs/cc/libg2c.so.1.1:/usr/lib/cmplrs/cc/libg2c.so.1.1:
 -- either the file does not exist or the file is not mappable (with reason 
indicated in previous msg)
gmake[2]: [check] Error 1 (ignored)

/usr/people/schwarz/gccb is the build directory.  ibg2c.so.1 is in fact at 
/usr/people/schwarz/gccb/mips-sgi-irix5.3/libf2c/.libs/libg2c.so.1

-- 
   Summary: gmake test fails with libg2c.so.1 not found
   Product: gcc
   Version: 3.4.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: georg dot schwarz at freenet dot de
CC: gcc-bugs at gcc dot gnu dot org,georg dot schwarz at
freenet dot de
  GCC host triplet: mips-sgi-irix5.3


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