* ALPHA 2100 and gcc/Linker Problems
@ 1996-03-16 5:00 marcus
1996-03-16 5:00 ` Peter Mardahl
0 siblings, 1 reply; 3+ messages in thread
From: marcus @ 1996-03-16 5:00 UTC (permalink / raw)
Hi Alpha Users,
I am running a DEC ALPHA 2100 with Digital UNIX. I use gcc-2.6.3 as
c++-compiler. When linking my applications (they use String, libio and
iosteams from gnu), I always get the warning:
"Linking some objects which contain exception information and some which do
not. This may cause fatal runtime errors. Last object encountered without
exception information was libgcc.a"
As DEC Hotline stated, this is a bug in the linker, they posted me a linker
patch. I reinstalled gcc, but no effect, still the same warning and my
executables produce Segmentation faults.
Does anywhone have the same problem and knows a workaround or a solution ?
Thanks in before
Markus
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ALPHA 2100 and gcc/Linker Problems
1996-03-16 5:00 ALPHA 2100 and gcc/Linker Problems marcus
@ 1996-03-16 5:00 ` Peter Mardahl
1996-03-20 5:00 ` Nader Behzad
0 siblings, 1 reply; 3+ messages in thread
From: Peter Mardahl @ 1996-03-16 5:00 UTC (permalink / raw)
In article <marcus.2.00086196@osn.de>, marcus <marcus@osn.de> wrote:
>Hi Alpha Users,
>
>I am running a DEC ALPHA 2100 with Digital UNIX. I use gcc-2.6.3 as
>patch. I reinstalled gcc, but no effect, still the same warning and my
>executables produce Segmentation faults.
>Does anywhone have the same problem and knows a workaround or a solution ?
>Thanks in before
Hmmm. I use gcc-2.7.2. I get this warning message all the time:
(I use D-UX also)
Warning: Linking some objects which contain exception information sections
and some which do not. This may cause fatal runtime exception handling
problems (last obj encountered without exceptions was /usr/local/lib/libiostream.a).
However, my executable works fine, and has worked all th way back
to 2.6.3.
I am not using GNU's linker. In fact, I don't think there's anything
wrong with your linker, or g++, unless you're using libg++ > 2.6.3:
both have worked fine for me.
I'd check your code for correctness. Find out where the segfault is
occurring. I'd bet on an error in your code before I'd blame g++
for this segfault you report. If it seems inexplicable, check
your code for wild pointers and memory overruns.
Regards,
PeterM
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ALPHA 2100 and gcc/Linker Problems
1996-03-16 5:00 ` Peter Mardahl
@ 1996-03-20 5:00 ` Nader Behzad
0 siblings, 0 replies; 3+ messages in thread
From: Nader Behzad @ 1996-03-20 5:00 UTC (permalink / raw)
Hi All,
I am using gcc-2.7.2 as well and I get the same warning message:
Warning: Linking some objects which contain exception information
sections and some which do not. This may cause fatal runtime
exception handling problems (last obj encountered without
exceptions was ...).
I also get a segmentation violation in my code (run time nothing during
compile time) ! My code has been working fine across: SUN, AIX, Solaris,
HP, X86, SGI. Now suddenly I get this error. This makes me believe that
there is something wrong with the compiler. (or the checks are much
better on: OSF1 thor V3.2 41 alpha??)
Peter Mardahl (peterm@landau.EECS.Berkeley.EDU) wrote:
> In article <marcus.2.00086196@osn.de>, marcus <marcus@osn.de> wrote:
> >Hi Alpha Users,
> >
> >I am running a DEC ALPHA 2100 with Digital UNIX. I use gcc-2.6.3 as
> >patch. I reinstalled gcc, but no effect, still the same warning and my
> >executables produce Segmentation faults.
> >Does anywhone have the same problem and knows a workaround or a solution ?
> >Thanks in before
> Hmmm. I use gcc-2.7.2. I get this warning message all the time:
> (I use D-UX also)
Why should we get this warning message (on DEC only!)??
> Warning: Linking some objects which contain exception information sections
> and some which do not. This may cause fatal runtime exception handling
> problems (last obj encountered without exceptions was /usr/local/lib/libiostream.a).
> However, my executable works fine, and has worked all th way back
> to 2.6.3.
It seems like things are waiting to go wrong!
> I am not using GNU's linker. In fact, I don't think there's anything
> wrong with your linker, or g++, unless you're using libg++ > 2.6.3:
> both have worked fine for me.
> I'd check your code for correctness. Find out where the segfault is
> occurring. I'd bet on an error in your code before I'd blame g++
> for this segfault you report. If it seems inexplicable, check
> your code for wild pointers and memory overruns.
Hmmmmm.
If anyone knows anything about this problem I appreciate any hints.
Thank you in advance,
Sincerely,
Nader
--
---------------------------------------------------------------------
| |
| Nader T. Behzad |
| e-mail: nbehzad@ee.ualberta.ca |
| WWW: http://www.ee.ualberta.ca/~nbehzad |
| |
|===================================================================|
| |
| "Whatever you do will be insignificant, but it is very |
| important that you do it." --Mahatma Gandhi |
| |
---------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-03-20 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-16 5:00 ALPHA 2100 and gcc/Linker Problems marcus
1996-03-16 5:00 ` Peter Mardahl
1996-03-20 5:00 ` Nader Behzad
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox