delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/15/07:51:19

Message-ID: <000f01c36322$53e9b950$021ca8c0@helm>
From: "2boxers" <2boxers AT comcast DOT net>
To: "djgpp-workers-ml" <djgpp-workers AT delorie DOT com>
Subject: patching vanilla gcc-3.3 prior to building djcrx
Date: Fri, 15 Aug 2003 07:42:38 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Reply-To: djgpp-workers AT delorie DOT com

Greetings workers,

I recently successfully built a linux to djgpp cross compiler using the
following sources:

djcrx204.zip
gcc33s.zip
gnu make 3.79.1
binutils 2.14
bash 2.05b
autoconf 2-13
automake 1.4-p6
unzip 5.50

all compiled with a gcc-3.3 native compiler

The build went without a hitch using gcc33s.zip (pre patched source for
3.3), but when patching a vanilla gcc-3.3.tar.gz or gcc-3.3.tar.bz2 using
unpack-gcc.sh from gcc33s2.zip, the patch terminates with the following
warnings and error:

... snip
Copying tcedit.dst
`diffs/source/tcedit.dst' ->
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3/tcedit.dst'
Copying readme.DJGPP
`diffs/source/readme.DJGPP' ->
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3/readme.DJGPP'
Applying patch to gcc/configure.in ...
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- configure.in~1 2003-03-17 16:09:00.000000000 +0000
|+++ configure.in 2003-03-17 16:14:18.000000000 +0000
--------------------------
Patching file /root/updates/djgpp/packages/cross/gnu/gcc-3.3/configure.in
using Plan A...
Hunk #1 succeeded at 1412.
done
Writting build.gcc/djmake.sh
Writting build.gcc/djbuild.sh
Writting build.gcc/djconfig.sh
Writting build.gcc/djinsttmp.sh
Writting install.gcc/dsmsrc/gccb.dsi
Writting install.gcc/dsmsrc/g77b.dsi
Writting install.gcc/dsmsrc/objcb.dsi
Writting install.gcc/dsmsrc/adab.dsi
Writting install.gcc/dsmsrc/gppb.dsi
Writting install.gcc/mkdocs.sh
Writting install.gcc/makepkg.sh
Running aclocal in
/root/updates/djgpp/packages/cross/gnu/gcc-3.3/libstdc++-v3...
Running automake in
/root/updates/djgpp/packages/cross/gnu/gcc-3.3/libstdc++-v3...
automake: src/Makefile.am: warning: automake does not support
libstdcxx_la_LDFLAGS being defined conditionally
automake: src/Makefile.am: warning: automake does not support
libstdc___la_LDFLAGS being defined conditionally
automake failed in directory
/root/updates/djgpp/packages/cross/gnu/gcc-3.3/libstdc++-v3

This looks like to me an automake issue possibly, but I am not certain.
Which version of automake was used to apply the patches used in the distro
source: gcc33s.zip?

The resulting build of the cross gcc using the above failed patch terminates
with the
following errors:

Making all in libsupc++
... snip
(cd .libs && rm -f libsupc++.la && ln -s ../libsupc++.la libsupc++.la)
make[3]: Leaving directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3/libsupc++'
Making all in src
make[3]: Entering directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3/src'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3/src'
Making all in po
make[3]: Entering directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3/po'
Making all in testsuite
make[3]: Entering directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3/testsuite'
`echo
"/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/gcc/xgcc -shared-libgcc 
-B/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/gcc/ -nostdinc++ -L/roo
t/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libstdc++-
v3/src -L/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjg
pp/libstdc++-v3/src/.libs -B/usr/local/compiler/cross/djgpp-2.04/i586-pc-msd
osdjgpp/bin/ -B/usr/local/compiler/cross/djgpp-2.04/i586-pc-msdosdjgpp/lib/ 
-isystem /usr/local/compiler/cross/djgpp-2.04/i586-pc-msdosdjgpp/include " |
sed 's,gcc/xgcc ,gcc/g++
,'` -DHAVE_CONFIG_H -I. -I../../../../gcc-3.3/libstdc++-v3/testsuite -I.. -n
ostdinc++ -I/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdos
djgpp/libstdc++-v3/include/i586-pc-msdosdjgpp -I/root/updates/djgpp/packages
/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libstdc++-v3/include -I../../../..
/gcc-3.3/libstdc++-v3/libsupc++ -g -O2 -c
../../../../gcc-3.3/libstdc++-v3/testsuite/testsuite_hooks.cc
In file included from
/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libstd
c++-v3/include/bits/locale_facets.h:166,
from
/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libstd
c++-v3/include/locale:46,
from ../../../../gcc-3.3/libstdc++-v3/testsuite/testsuite_hooks.cc:42:
/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libstd
c++-v3/include/i586-pc-msdosdjgpp/bits/ctype_base.h:46: error: `
_U' was not declared in this scope
...snip...
/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libstd
c++-v3/include/i586-pc-msdosdjgpp/bits/ctype_base.h:56: error: `
_N' was not declared in this scope
make[3]: *** [testsuite_hooks.o] Error 1
make[3]: Leaving directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3/testsuite'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/root/updates/djgpp/packages/cross/gnu/gcc-3.3-obj/i586-pc-msdosdjgpp/libst
dc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

Thanks for reading,
Charles Wilkins


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019