* A gcc Makefile patch.
@ 1997-08-27 15:31 H.J. Lu
1997-08-27 16:44 ` Some Linux patches Jeffrey A Law
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: H.J. Lu @ 1997-08-27 15:31 UTC (permalink / raw)
To: egcs
Hi,
I need this for parallel build and libstdc++.so.
Thanks.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
--
Tue Aug 26 07:43:18 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* Makefile.in (check-g++): Set/export LD_LIBRARY_PATH if
necessary.
(testsuite/site.exp): New target.
(check-gcc, check-g++): Depend on testsuite/site.exp.
Don't stop for failure.
Index: gcc/Makefile.in
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- Makefile.in 1997/08/26 00:20:40 1.1.1.1
+++ Makefile.in 1997/08/27 02:58:03
@@ -2426,7 +2431,7 @@
check: $(CHECK_TARGETS)
-check-g++: site.exp
+testsuite/site.exp: site.exp
if [ -d testsuite ]; then \
true; \
else \
@@ -2434,24 +2439,23 @@
fi
rm -rf testsuite/site.exp
cp site.exp testsuite/site.exp
- rootme=`pwd`; export rootme; \
+
+check-g++: testsuite/site.exp
+ -rootme=`pwd`; export rootme; \
srcdir=`cd ${srcdir}; pwd` ; export srcdir ; \
cd testsuite; \
EXPECT=${EXPECT} ; export EXPECT ; \
if [ -f $${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=$${srcdir}/../tcl/library ; \
export TCL_LIBRARY ; fi ; \
+ if [ -x $${rootme}/../libstdc++ ] ; then \
+ SAVE_LLPATH="$${SAVE_LLPATH-$$LD_LIBRARY_PATH}"; export SAVE_LLPATH; \
+ LD_LIBRARY_PATH="$${rootme}/../libstdc++:$$SAVE_LLPATH" ; \
+ export LD_LIBRARY_PATH ; fi ; \
$(RUNTEST) --tool g++ $(RUNTESTFLAGS)
-check-gcc: site.exp
- if [ -d testsuite ]; then \
- true; \
- else \
- mkdir testsuite; \
- fi
- rm -rf testsuite/site.exp
- cp site.exp testsuite/site.exp
- rootme=`pwd`; export rootme; \
+check-gcc: testsuite/site.exp
+ -rootme=`pwd`; export rootme; \
srcdir=`cd ${srcdir}; pwd` ; export srcdir ; \
cd testsuite; \
EXPECT=${EXPECT} ; export EXPECT ; \
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Some Linux patches
1997-08-27 15:31 A gcc Makefile patch H.J. Lu
@ 1997-08-27 16:44 ` Jeffrey A Law
1997-08-27 16:44 ` Jeffrey A Law
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Jeffrey A Law @ 1997-08-27 16:44 UTC (permalink / raw)
To: egcs
In message <199708270817.BAA09656@rtl.cygnus.com>you write:
> > * config/alpha/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
> > as 1.
>
> This should not be unconditional. It is wrong for alpha-linux-ecoff
> (not that I think anyone will notice) and glibc1.
What about the rs6000/linux patch, it does the same thing...
Anyone know?
jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* G++ linker warnings on i386-cygwin32
1997-08-27 15:31 A gcc Makefile patch H.J. Lu
1997-08-27 16:44 ` Some Linux patches Jeffrey A Law
1997-08-27 16:44 ` Jeffrey A Law
@ 1997-08-27 16:44 ` Jan-Jaap van der Heijden
1997-09-10 14:18 ` A gcc Makefile patch Jim Wilson
3 siblings, 0 replies; 6+ messages in thread
From: Jan-Jaap van der Heijden @ 1997-08-27 16:44 UTC (permalink / raw)
To: egcs
I built egcs-970825 as an i386-linux-gnulibc1 -> i386-cygwin32 cross.
I noticed it installs the collect2 linker, though cygwin32 uses GNU ld.
Most annoyning, compiling a trivial C++ program:
----------------------
#include <iostream.h>
int main(void)
{
cout << "Hello World!\n";
}
----------------------
gives me a few screens of linker warnings:
[janjaap@ZOO-station src]$ i386-cygwin32-g++ -v -o hello.exe hello.cc
Reading specs from /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.02/specs
gcc version egcs-2.90.02 970825 (gcc2-970802 experimental)
/opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.02/cpp -lang-c++ -v -undef -D__G
NUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=90 -Di386 -D_WIN32 -DPOSIX
-D__CYGWIN32__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdc
all__)) -D__cdecl=__attribute__((__cdecl__)) -D__i386__ -D_WIN32 -D__POSIX__ -D
__CYGWIN32__ -D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__st
dcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__i386 -D__POSIX -D__WINNT -As
ystem(winnt) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -Di386 -Asystem(unix) -
Acpu(i386) -Amachine(i386) -D__i386__ -Asystem(unix) -Acpu(i386) -Amachine(i386
) hello.cc /tmp/cca28504.ii
GNU CPP version egcs-2.90.02 970825 (gcc2-970802 experimental) (80386, BSD synt
ax)
#include "..." search starts here:
#include <...> search starts here:
/opt/egcs/include/g++
/opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.02/include
/opt/egcs/i386-cygwin32/include
End of search list.
/opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.02/cc1plus /tmp/cca28504.ii -qui
et -dumpbase hello.cc -version -o /tmp/cca28504.s
GNU C++ version egcs-2.90.02 970825 (gcc2-970802 experimental) (i386-cygwin32)
compiled by GNU C version egcs-2.90.02 970825 (gcc2-970802 experimental).
/opt/egcs/i386-cygwin32/bin/as -o /tmp/cca285041.o /tmp/cca28504.s
/opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.02/ld -o hello.exe /opt/egcs/i38
6-cygwin32/lib/crt0.o -L/opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.02 -L/opt
/egcs/i386-cygwin32/lib /tmp/cca285041.o -lstdc++ -lm -lgcc -lcygwin -lkernel32
-lgcc
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo.o): warning: duplicate section `.data$_vt$17__class_type_info'
has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo.o): warning: duplicate section `.data$_vt$17__class_type_info'
has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo.o): warning: duplicate section `.data$_vt$17__class_type_info'
has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo.o): warning: duplicate section `.data$_vt$17__class_type_info'
has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo.o): warning: duplicate section `.data$_vt$17__class_type_info'
has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo.o): warning: duplicate section `.data$_vt$17__class_type_info'
has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo.o): warning: duplicate section `.data$_vt$17__class_type_info'
has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo.o): warning: duplicate section `.data$_vt$17__class_type_info'
has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(tinfo2.o): warning: duplicate section `.data$_vt$17__array_type_info
' has different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(exception.o): warning: duplicate section `.data$_vt$10bad_typeid' ha
s different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(exception.o): warning: duplicate section `.data$_vt$10bad_typeid' ha
s different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(exception.o): warning: duplicate section `.data$_vt$10bad_typeid' ha
s different size
/opt/egcs/i386-cygwin32/bin/ld: /opt/egcs/lib/gcc-lib/i386-cygwin32/egcs-2.90.0
2/libgcc.a(exception.o): warning: duplicate section `.data$_vt$10bad_typeid' ha
s different size
Removing the collect2 linker doesn't help. Anybody got a clue?
JJ
---
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead. -- RFC1925.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Some Linux patches
1997-08-27 15:31 A gcc Makefile patch H.J. Lu
1997-08-27 16:44 ` Some Linux patches Jeffrey A Law
@ 1997-08-27 16:44 ` Jeffrey A Law
1997-08-27 16:44 ` G++ linker warnings on i386-cygwin32 Jan-Jaap van der Heijden
1997-09-10 14:18 ` A gcc Makefile patch Jim Wilson
3 siblings, 0 replies; 6+ messages in thread
From: Jeffrey A Law @ 1997-08-27 16:44 UTC (permalink / raw)
To: egcs
In message <m0x3iUK-0004efC@ocean.lucon.org>you write:
> >
> > > * config/alpha/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
> > > as 1.
> >
> > This should not be unconditional. It is wrong for alpha-linux-ecoff
> > (not that I think anyone will notice) and glibc1.
> >
>
> If that is the case, we should have alpha*-*-linux-gnulibc1*
> and alpha*-*-linux-gnu* in configure.in. When it is done, I
> can make a new patch for it.
Until we have that code I'm pulling the alpha/linux.h patch out.
Jeff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: A gcc Makefile patch.
1997-08-27 15:31 A gcc Makefile patch H.J. Lu
` (2 preceding siblings ...)
1997-08-27 16:44 ` G++ linker warnings on i386-cygwin32 Jan-Jaap van der Heijden
@ 1997-09-10 14:18 ` Jim Wilson
1997-09-10 15:16 ` H.J. Lu
3 siblings, 1 reply; 6+ messages in thread
From: Jim Wilson @ 1997-09-10 14:18 UTC (permalink / raw)
To: H.J. Lu; +Cc: egcs
I need this for parallel build and libstdc++.so.
Tue Aug 26 07:43:18 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* Makefile.in (check-g++): Set/export LD_LIBRARY_PATH if
necessary.
(testsuite/site.exp): New target.
(check-gcc, check-g++): Depend on testsuite/site.exp.
Don't stop for failure.
I have installed this, except for the LD_LIBRARY_PATH stuff.
Setting LD_LIBRARY_PATH to ../libstdc++ will not work for any target
using multilibs, so we need a more general solution. I think the
only way to make this work is to fix the problem in dejagnu, because it
is only in dejagnu that we know what the correct pathname to libstdc++.so is.
Jim
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: A gcc Makefile patch.
1997-09-10 14:18 ` A gcc Makefile patch Jim Wilson
@ 1997-09-10 15:16 ` H.J. Lu
0 siblings, 0 replies; 6+ messages in thread
From: H.J. Lu @ 1997-09-10 15:16 UTC (permalink / raw)
To: Jim Wilson; +Cc: egcs
>
> I need this for parallel build and libstdc++.so.
>
> Tue Aug 26 07:43:18 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
>
> * Makefile.in (check-g++): Set/export LD_LIBRARY_PATH if
> necessary.
> (testsuite/site.exp): New target.
> (check-gcc, check-g++): Depend on testsuite/site.exp.
> Don't stop for failure.
>
> I have installed this, except for the LD_LIBRARY_PATH stuff.
Thanks.
>
> Setting LD_LIBRARY_PATH to ../libstdc++ will not work for any target
> using multilibs, so we need a more general solution. I think the
> only way to make this work is to fix the problem in dejagnu, because it
> is only in dejagnu that we know what the correct pathname to libstdc++.so is.
I guess that is true.
--
H.J. Lu (hjl@gnu.ai.mit.edu)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-09-10 15:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-08-27 15:31 A gcc Makefile patch H.J. Lu
1997-08-27 16:44 ` Some Linux patches Jeffrey A Law
1997-08-27 16:44 ` Jeffrey A Law
1997-08-27 16:44 ` G++ linker warnings on i386-cygwin32 Jan-Jaap van der Heijden
1997-09-10 14:18 ` A gcc Makefile patch Jim Wilson
1997-09-10 15:16 ` H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).