[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ddd-3.3.9-test2 build feedback HPUX once again...
From: |
Arnaud Desitter |
Subject: |
Re: ddd-3.3.9-test2 build feedback HPUX once again... |
Date: |
Fri, 28 May 2004 10:46:23 +0100 |
Hi Andrew,
See comments below.
You may want to build a formal ddd-3.3.9-test3. Hopefully,
most build failures are now nailed down.
Build problems are known for:
- Cygwin with gcc 3.3.1. This is a gcc bug. Workaround documented
in PROBLEMS.
- builds with gcc 3.3.x on HP-UX. Probably the same gcc bug.
Cygwin workaround fixes it.
- MacOSX has problems due to case sensitive file systems. The situation
is not worse than before. Documented in PROBLEMS.
Regards,
----- Original Message -----
From: "Andrew Gaylard" <address@hidden>
Newsgroups: gmane.comp.debugging.ddd.general
Cc: <address@hidden>
Sent: Sunday, May 23, 2004 7:00 PM
Subject: Re: ddd-3.3.9-test2 build feedback HPUX once again...
>
> This is odd. I've been testing with HPUX-11.11, and have never needed
> to add -lXmu. Ever. I did see that the "developer's kit" and a linker
-lXmu is necessary for -lXaw (Athena). acinclude.m4 got broken and then
fixed. So it should be fine now.
> patch are needed before builds will work on HPUX-11.11, so this may be
> the reason that it worked for me and not for you. See the problems
> file for details.
>
> The Motif problem is still annoying me. The following is now clear:
> - HPUX-11.11 + the linker patch + the developer's kit will have
> libXm.sl as a dynamic library in /usr/lib/libXm.sl,
> which is a link to /usr/lib/Motif2.1/libXm.sl. DDD-3.3.9 works
> properly with this dynamic Motif library. There are also older
> Motif libraries on this Unix, but we don't use them (and we
> shouldn't).
> - HPUX-10.20 + the December 2001 patch bundle has libXm.a in
> /usr/lib/Motif1.2_R6. DDD-3.3.<recent> work properly with this
> static Motif library. There are also other Motif libraries on this
> Unix, but we don't use them (and we shouldn't). In particular, the
> dynamic libXm.sl will link correctly, but DDD will crash as it starts.
> - I have no idea what HPUX-11.00 or 11.22 need. Anyone?
> - It has been difficult to get DDD to compile, link and run on HPUX
> generally. My rule of thumb is that all the latest patches must
> be installed. Annoyingly, the HPUX-11.11 linker patch wasn't in
> the general patch bundle when I last looked; it had to be downloaded
> and installed separately. C'mon, HP, that isn't good enough.
>
> I do test DDD releases on my 715/100 under HPUX-11.11, and as I find
> build problems, I put them into the PROBLEMS file, which should be
> the first place to look when getting stuck (on any platform).
>
I modified the hp-ux libXm handling in configure.ac and it should work
better now.
> > HPUX 10.20
> > ==========
> >
> > - Unfortunately HP aCC on HPUX 10.20 does not compile DDD even though
> > -AA flag is used. This seems to be a bug in compiler or in its libs,
> > because it can not find certain STL-methods it uses. Unfotunately
> > version 1.27 is the very last version of aCC for HPUX 10.20 and it is
> > already three year old version and because HP does not anymore support
> > HPUX 10.20 officially there won't be any fix for this.
> > - DDD on HPUX10.20 requires -lXmu too, even though there is no Motif2.1
> > for HPUX10.20. Once again I corrected this by manually adding -lXmu to
> > ddd/Makefile. The reason for missing -lXmu seems to be the same that was
> > told above being reason on HPUX11.00.
> > - because above I had to use g++ on this platform (have tried versions
> > 3.4.0 and 3.3.3). Unfortunately the compilation does not go through
> > because in the final link phase of ddd binary following happens:
> > -----8<-----8<-----8<-----8<-----8<-----
> > /usr/ccs/bin/ld: Unsatisfied symbols:
> > typeinfo for _Assoc<int, VarArray<int> >(data)
> > typeinfo for DynArray<int>(data)
> > typeinfo for Assoc<string, string>(data)
> > typeinfo for DynArray<EdgeAnnotation*>(data)
> > typeinfo for VarArray<void*>(data)
> > typeinfo name for ThemePattern(data)
> > typeinfo for VarArray<EdgeAnnotation*>(data)
> > typeinfo for DynArray<GraphNode*>(data)
> > typeinfo name for UndoBufferEntry(data)
> > typeinfo for _Assoc<string, string>(data)
> > typeinfo for Assoc<int, VarArray<int> >(data)
> > typeinfo for VarArray<_WidgetRec*>(data)
> > typeinfo for VarArray<GraphNode*>(data)
> > typeinfo for DynArray<EntryType>(data)
> > typeinfo for VarArray<UndoBufferEntry>(data)
> > typeinfo for _Assoc<_WidgetRec*, string (*)(string const&)>(data)
> > typeinfo for DynArray<UndoBufferEntry>(data)
> > typeinfo for Assoc<_WidgetRec*, MinMax>(data)
> > typeinfo for VarArray<DispValue*>(data)
> > typeinfo for DynArray<VarArray<int> >(data)
> > typeinfo for _Assoc<string, VarArray<VarArray<int> > >(data)
> > typeinfo for DynArray<void*>(data)
> > typeinfo for DynArray<stat>(data)
> > typeinfo for DynArray<CodeCacheEntry>(data)
> > typeinfo for VarArray<CodeCacheEntry>(data)
> > typeinfo for Assoc<string, ThemePattern>(data)
> > typeinfo for Assoc<string, VarArray<VarArray<int> > >(data)
> > typeinfo for _Assoc<string, SourceOrigin>(data)
> > typeinfo name for DispGraph(data)
> > typeinfo for _Assoc<_WidgetRec*, MinMax>(data)
> > typeinfo for DynArray<DispValue*>(data)
> > typeinfo name for DispValue(data)
> > typeinfo for VarArray<long>(data)
> > typeinfo for _Assoc<_WidgetRec*, string>(data)
> > typeinfo for Assoc<_WidgetRec*, string>(data)
> > typeinfo for DynArray<string>(data)
> > typeinfo for DynArray<long>(data)
> > typeinfo for VarArray<EntryType>(data)
> > typeinfo for VarArray<VarArray<int> >(data)
> > typeinfo name for DispNode(data)
> > typeinfo for VarArray<stat>(data)
> > typeinfo for Assoc<string, SourceOrigin>(data)
> > typeinfo for VarArray<string>(data)
> > typeinfo for VarArray<int>(data)
> > typeinfo for Assoc<_WidgetRec*, string (*)(string const&)>(data)
> > typeinfo for DynArray<_WidgetRec*>(data)
> > typeinfo for _Assoc<string, ThemePattern>(data)
> > collect2: ld returned 1 exit status
> > make[2]: *** [ddd] Error 1
> > -----8<-----8<-----8<-----8<-----8<-----
> >
> > I would guess that this is problem with g++ on HPUX and not by anyway
> > related to DDD itself. I have not yet had time to inspect the problem
> > more carefully though.
>
> This is caused by one of two things:
> 1. You haven't put the path to libstdc++ into SHLIB_PATH; a typical
> install will have it in /usr/local/lib; mine is in
> /opt/gcc-3.4.0/lib.
> 2. You didn't compile with debugging off and -O3, as mentioned in the
> PROBLEMS file.
>
> I suspect that this latter problem is caused by HPUX linker bugs, since
> it used to happen on HPUX-11.11 too, but doesn't any more.
- Re: ddd-3.3.9-test2 build feedback HPUX once again..., (continued)
- Re: ddd-3.3.9-test2 build feedback HPUX once again..., Arnaud Desitter, 2004/05/24
- Re: ddd-3.3.9-test2 build feedback HPUX once again..., Tuomo Tikkanen, 2004/05/24
- Re: ddd-3.3.9-test2 build feedback HPUX once again..., Arnaud Desitter, 2004/05/25
- Re: ddd-3.3.9-test2 build feedback HPUX once again..., Tuomo Tikkanen, 2004/05/25
- Re: ddd-3.3.9-test2 build feedback HPUX once again..., Arnaud Desitter, 2004/05/26
- Re: ddd-3.3.9-test2 build feedback HPUX once again..., Tuomo Tikkanen, 2004/05/27
- Re: ddd-3.3.9-test2 build feedback HPUX once again..., Arnaud Desitter, 2004/05/28
Re: ddd-3.3.9-test2 build feedback HPUX once again..., Andrew Gaylard, 2004/05/23
Re: ddd-3.3.9-test2 build feedback HPUX once again..., Andrew Gaylard, 2004/05/27
- Re: ddd-3.3.9-test2 build feedback HPUX once again...,
Arnaud Desitter <=