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

SCO OpenServer / gcc-3.2 note

Since you do SCO builds, the change below in gcc/ChangeLog makes
gcc-3.1 builds fail with "machmode.def: undefined symbol: BITS_PER_UNIT".

>2002-04-24  Robert Lipe  <>
>	* config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion.

When I played with the bounds checking patches for gcc-3.1,
I added the patch below.  My SCO OpenServer system is a 66 MHz 486,
so I never bother building gcc without the bounds checking patches,
and since the config.gcc patch applied cleanly in gcc-3.2,
I didn't try to build without it, but I do not see anything in
the ChangeLog that would indicate that it was fixed.

I posted the patch to the gcc list when gcc-3.1 came out,
and someone said that they would fix the problem in gcc-3.1.1,
but I do not think that they did.  RJL said on June 4 that he
would revert the patch to sco5.h.

I'm not sure what they are planning, but if you try a SCO build,
it could save you some time to be aware of this issue.


--- gcc-3.2/gcc/config.gcc	Tue Aug  6 11:20:55 2002
+++ bgcc-3.2/gcc/config.gcc	Thu Aug 15 16:18:59 2002
@@ -1400,17 +1400,17 @@
 	tmake_file="i386/t-rtems-i386 i386/t-crtstuff t-rtems"
 	if test x$enable_threads = xyes; then
 i[34567]86-*-sco3.2v5*)	# 80386 running SCO Open Server 5
-	tm_file=i386/sco5.h
+	tm_file="i386/i386.h i386/att.h i386/sco5.h"
 	if test x$gas = xyes
 		tm_file="usegas.h ${tm_file}"
 	extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"

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