This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
bugreport (gcc-2.95.2 & gcj-2.95.1)
- To: <gcc at gcc dot gnu dot org>
- Subject: bugreport (gcc-2.95.2 & gcj-2.95.1)
- From: "Serg Kraft" <skraft at tlsoft dot ru>
- Date: Mon, 15 Nov 1999 19:06:58 +0300
when compiling libgcj-2.95.1 on hpux-10.20 with gcc-2.95.2, after
./configure output of make(zeus:/usr/local/bin# ./make -v
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for hppa2.0-hp-hpux10.20)
----
c++ -DHAVE_CONFIG_H -I. -I../../../libgcj-2.95.1/libjava -I./include -Iinclu
de -I../../../libgcj-2.95.1/libjava
/include -I../../../libgcj-2.95.1/libjava/../boehm-gc -I./../boehm-gc -DSILE
NT=1 -DNO_SIGNALS=1 -DNO_DEBUGGING=
1 -DJAVA_FINALIZATION=1 -I../../../libgcj-2.95.1/libjava/../compat-include -
I../../../libgcj-2.95.1/libjava/../
zlib -fno-rtti -fvtable-thunks -fpermissive -W -Wall -O2 -c -fPIC -DPIC
../../../libgcj-2.95.1/libjava/java/la
ng/natSystem.cc -o java/lang/.libs/natSystem.lo
../../../libgcj-2.95.1/libjava/java/lang/natSystem.cc: In function `static
void java::lang::System::init_proper
ties()':
../../../libgcj-2.95.1/libjava/java/lang/natSystem.cc:325: no matching
function for call to `getpwuid_adaptor (
int (&)(int, passwd *, char *, int), uid_t &, passwd *, char *&, size_t &,
passwd **)'
../../../libgcj-2.95.1/libjava/java/lang/natSystem.cc:366: Internal compiler
error in `add_insn_before', at emi
t-rtl.c:2559
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.
make[2]: *** [java/lang/natSystem.lo] Error 1
make[2]: Leaving directory
`/home/wheel/kravchen/gcj_obj/hppa2.0-hp-hpux10.20/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/wheel/kravchen/gcj_obj/hppa2.0-hp-hpux10.20/libjava'
make: *** [all-target-libjava] Error 2
zeus>uname -a
HP-UX zeus B.10.20 A 9000/800 1897327412 two-user license
zeus>gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)
zeus>c++ -v
Reading specs from /usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)
-------
and if not editing
/usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/include/math.h :
---
c++ -DHAVE_CONFIG_H -I. -I../../../libgcj-2.95.1/libjava -I./include -Iinclu
de -I../../../libgcj-2.95.1/libjava
/include -I../../../libgcj-2.95.1/libjava/../boehm-gc -I./../boehm-gc -DSILE
NT=1 -DNO_SIGNALS=1 -DNO_DEBUGGING=
1 -DJAVA_FINALIZATION=1 -I../../../libgcj-2.95.1/libjava/../compat-include -
I../../../libgcj-2.95.1/libjava/../
zlib -fno-rtti -fvtable-thunks -fpermissive -W -Wall -O2 -c -fPIC -DPIC
../../../libgcj-2.95.1/libjava/java/la
ng/natDouble.cc -o java/lang/.libs/natDouble.lo
In file included from ../../../libgcj-2.95.1/libjava/java/lang/mprec.h:36,
from
../../../libgcj-2.95.1/libjava/java/lang/natDouble.cc:37:
/usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/include/math.h: In
function `double pow(double, int)':
/usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/include/math.h:74:
declaration of C function `double pow(dou
ble, int)' conflicts with
/usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/include/math.h:71:
previous declaration `double pow(double,
double)' here
/usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/include/math.h: In
function `double pow(double, int)':
/usr/local/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/include/math.h:75:
warning: `double' used for argument 2 of
`pow(double, int)'
make[2]: *** [java/lang/natDouble.lo] Error 1
make[2]: Leaving directory
`/home/wheel/kravchen/gcj_obj/hppa2.0-hp-hpux10.20/libjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/wheel/kravchen/gcj_obj/hppa2.0-hp-hpux10.20/libjava'
make: *** [all-target-libjava] Error 2
---
from math.h:
extern double modf(double, double *);
extern double pow(double, double);
# ifdef __cplusplus
}
inline double pow(double __d,int __expon) {
return pow(__d,(double)__expon);
}
extern "C" {
#else
# endif
----------
Serg V.Kravchenko, Telesoft Russia,
System & Network Support Engineer
mailto:skraft@tlsoft.ru ; URL : http://www.tlsoft.ru
7a, 1st Parkovaya ulitsa, 105037, Moscow, Russia
Tel: +7 (095) 367 61 63 , Fax: +7 (095) 367 51 00