tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* gcc2.8.1, gas, gld & DU 4.0d
@ 1999-04-01 15:16 jburelbach
  0 siblings, 0 replies; only message in thread
From: jburelbach @ 1999-04-01 15:16 UTC (permalink / raw)
  To: tru64-unix-managers


HELLLLP!!!  Has anyone gotten gcc2.8.1 (or egcs 1.1.2) to build with libstdc++, gas, and gld?  I'm working on a DEC 1000A running 4.0D with patchkit 2.  I've managed to build gcc with gas, but gld doesn't work then.  when I build without gas the Dec assembler barfs with "line too long". with gas and Dec's linker I get stuff like:

   DBHandler.cpp:6: undefined reference to `__dl__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03RepPv'
   DBHandler.cpp:6: undefined reference to `__builtin_delete' FuncEvaluator.o: In function `basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::rep(void) const':
   FuncEvaluator.cpp:6: relocation truncated to fit: SREL32 xdata
   FuncEvaluator.cpp:6: relocation truncated to fit: SREL32 xdata
   FuncEvaluator.cpp:6: relocation truncated to fit: SREL32 xdata
   FuncEvaluator.cpp:6: relocation truncated to fit: SREL32 xdata
   FuncEvaluator.cpp:6: relocation truncated to fit: SREL32 xdata
   FuncEvaluator.cpp:6: relocation truncated to fit: SREL32 xdata
   FuncEvaluator.cpp:6: relocation truncated to fit: SREL32 xdata


If gas exists and I build gcc without gas support gas dies with "-O0 undefined"  I've even tried using Digital's C++ compiler and I get the following errors:

  cxx -fexceptions -c FuncEvaluator.cpp -D DEBUG   -D USE_ORACLE -DSLXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT   -I/rdbms/demo
  cxx: Warning: -fexceptions ignored
  cxx: Warning: Error.h, line 15: qualified name is not     allowed in member declaration
   string Error::toString();
----------^
cxx -O2   -I/rdbms/demo   -o DBHandler.o -c DBHandler.cpp
cxx: Warning: Error.h, line 15: qualified name is not allowed in member declaration
   string Error::toString();
----------^
cxx -O2   -I/rdbms/demo   -o DBHandler.o -c DBHandler.cpp
cxx: Warning: Error.h, line 15: qualified name is not allowed in member declaration
   string Error::toString();
----------^
cxx -fexceptions -c DynamicFuncEvaluator.cpp -D DEBUG   -D USE_ORACLE -DSLXMX_ENABLE -DSLTS_ENABLE -
D_REENTRANT   -I/rdbms/demo
cxx: Warning: -fexceptions ignored
cxx: Warning: Error.h, line 15: qualified name is not allowed in member declaration
   string Error::toString();
----------^
/usr/ccs/bin/ld -G FuncEvaluator.o DynamicFuncEvaluator.o DBHandler.o -o libteal.1.2.so
/usr/ccs/bin/ld:
Error: Undefined:
__vtbl_3std9type_info__3std
userdata
nullref__7__rwstd
nullref_initialized__7__rwstd
getVar__9EnvObjectXQ13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__Tv
__ct__Q13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TvXPCcRCQ13std13allocator__T
v
__vec_new_eh
__as__Q13std60basic_string__TcQ13std15char_traits__TcQ13std13allocator__TvXRCQ13std60basic_string__T
cQ13std15char_traits__TcQ13std13allocator__Tv
sprintf
....


The application I'm building makes heavy use of templates and compiles just fine on a Solaris system using gcc, gas & gld.
Please help!

Jon

----------------------
Jonathan Burelbach
Sr. Systems Engr.
FDC Technologies
Bethesda, MD 20814

---------------------------------------------------
Get free personalized email at http://www.iname.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-04-01 15:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-01 15:16 gcc2.8.1, gas, gld & DU 4.0d jburelbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox