gcc-3.1 builds under SCO OpenServer 5.0.5 using the SCO dev sys fail with "machmode.def: undefined symbol: BITS_PER_UNIT". Reverting the ChangeLog entry below would probably fix the problem. > 2002-04-24 Robert Lipe <robertlipe@usa.net> > * config/i386/sco5.h(i386.h, att.h): Eliminate double inclusion. The ChangeLog for gcc-3.2 does not have any indications that this has been fixed. Release: gcc-3.1 Environment: SCO OpenServer 5.0.5, SCO dev sys How-To-Repeat: Build gcc-3.1 under SCO OpenServer 5.0.5 with the SCO dev sys. It will probably happen on all versions of SCO OpenServer 5.
Fix: I built gcc-3.2 using the patch below. --- 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 thread_file='rtems' fi ;; i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5 xm_defines=POSIX install_headers_dir=install-headers-cpio - tm_file=i386/sco5.h + tm_file="i386/i386.h i386/att.h i386/sco5.h" if test x$gas = xyes then tm_file="usegas.h ${tm_file}" tmake_file=i386/t-sco5gas else tmake_file=i386/t-sco5 fi extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
State-Changed-From-To: open->analyzed State-Changed-Why: Submitter provided candidate patch.
Responsible-Changed-From-To: unassigned->robertl Responsible-Changed-Why: Assigning to SCO port maintainer. Note that this is a regression from 3.0.
State-Changed-From-To: analyzed->closed State-Changed-Why: http://gcc.gnu.org/ml/gcc/2002-10/msg01414.html