Subject: pkg/9778: weird compiler problem?
To: None <port-hp300@netbsd.org>
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
List: port-hp300
Date: 09/13/2000 04:04:50
Hi!

During fixing emulators/bochs, we (in special Michael Wolfson)
stumbled over the following compilation problems:

[...]
cc -c -O2   -DUSE_WITH_CPU_SIM -DPARANOID  -fno-builtin -DNO_ASSEMBLER -I..
-I../instrument/stubs -I. -I./stubs reg_constant.c -o reg_constant.o
reg_constant.c:21: warning: alignment of `CONST_1' is greater than maximum
object file alignment. Using 4.
reg_constant.c:22: warning: alignment of `CONST_2' is greater than maximum
object file alignment. Using 4.
reg_constant.c:23: warning: alignment of `CONST_HALF' is greater than
maximum object file alignment. Using 4.
reg_constant.c:24: warning: alignment of `CONST_L2T' is greater than
maximum object file alignment. Using 4.
reg_constant.c:25: warning: alignment of `CONST_L2E' is greater than
maximum object file alignment. Using 4.
reg_constant.c:26: warning: alignment of `CONST_PI' is greater than maximum
object file alignment. Using 4.
reg_constant.c:27: warning: alignment of `CONST_PI2' is greater than
maximum object file alignment. Using 4.
reg_constant.c:28: warning: alignment of `CONST_PI4' is greater than
maximum object file alignment. Using 4.
reg_constant.c:29: warning: alignment of `CONST_LG2' is greater than
maximum object file alignment. Using 4.
reg_constant.c:30: warning: alignment of `CONST_LN2' is greater than
maximum object file alignment. Using 4.
reg_constant.c:33: warning: alignment of `CONST_PI2extra' is greater than
maximum object file alignment. Using 4.
reg_constant.c:37: warning: alignment of `CONST_Z' is greater than maximum
object file alignment. Using 4.
reg_constant.c:44: warning: alignment of `CONST_QNaN' is greater than
maximum object file alignment. Using 4.
reg_constant.c:47: warning: alignment of `CONST_INF' is greater than
maximum object file alignment. Using 4.
cc -c -O2   -DUSE_WITH_CPU_SIM -DPARANOID  -fno-builtin -DNO_ASSEMBLER -I..
-I../instrument/stubs -I. -I./stubs reg_convert.c -o reg_convert.o
[...]
cc -c -O2   -DUSE_WITH_CPU_SIM -DPARANOID  -fno-builtin -DNO_ASSEMBLER -I..
-I../instrument/stubs -I. -I./stubs wm_sqrt.c -o wm_sqrt.o
/usr/src/gnu/usr.bin/egcs/common/../../../dist/gcc/reload.c:3531: Internal
compiler error in function find_reloads
gmake[1]: *** [wm_sqrt.o] Error 1
gmake[1]: Leaving directory `/usr/src/pkgsrc/emulators/bochs/work/bochs-2000_0104c/fpu'
gmake: *** [fpu/libfpu.a] Error 2
*** Error code 2

Stop.

Does this ring a bell with anyone?

The pkg compiles file on sparc-1.4.2 and i386 (upto current).

Thanks,
 Thomas

-- 
Thomas Klausner - wiz@danbala.tuwien.ac.at
I think...I think it's in my basement. Let me go upstairs and check.
 -- M.C. Escher (1898-1972)