[omniORB] OmniORB 3.0.4 omniNames problem with Solaris 8/x86 MU4 and GCC 3.0

Fazal Majid fmajid@kefta.com
Thu, 28 Jun 2001 15:52:28 -0700


> Could you tell me the steps you did to successfully compile
> omniORB with gcc
> (2.95.3) and Solaris 8 x86? I tried but the make process halts
> with a Python
> core dump (SIGABORT) while doing 'omniidl corbaidl.idl'.
>
> I'm using gcc-2.95.3, binutils 2.11.2 and python-2.1, all rebuilt from
> sources.

I don't use binutils, as there was an issue with GNU ld in binutils-2.10.
Perhaps it has been fixed with 2.11.2.

I build omniORB by editing the x86_sosv_5.5.mk file with the patch below. I
haven't had a problem. If this does not work for you, I can make a binary
tarball available.

Then again, perhaps your problem is with the way you build Python. I had
issues with relocation with Python 2.1 and OpenSSL support in socketmodule
that I had to use "gcc -G" instead of "gcc -shared" to resolve.

Yours,

--
Fazal Majid                          Chief Technology Officer
fmajid@kefta.com                     Kefta
Voice: +1 415 391 6881 ext 8014      153 Kearny St. Suite 209
Fax: +1 415 391 7097                 San Francisco, CA 94108, USA

================================================================
*** x86_sosV_5.5.mk	Wed Aug 16 04:25:38 2000
--- x86_sosV_5.8.mk	Mon Feb  5 19:19:21 2001
***************
*** 39,52 ****

  CPP = /usr/ccs/lib/cpp

- CXX = CC
- CXXMAKEDEPEND += -D__SUNPRO_CC -D__cplusplus
- CXXDEBUGFLAGS = -O2
- CXXMTFLAG     = -mt
-
- CXXLINK		= $(CXX)
- CXXLINKOPTIONS  = $(CXXDEBUGFLAGS) $(CXXOPTIONS)
-
  # CXXLINKOPTIONS += $(patsubst %,-R %,$(IMPORT_LIBRARY_DIRS))
  # Note: the -R linker option in CXXLINKOPTIONS instruct the Sun linker to
  # record the pathname of the shared libraries in the executable.
--- 39,44 ----
***************
*** 54,69 ****
  #
  # To use gcc uncomment the following lines:
  #
! #CPP = gcc
  #
! #CXX = g++
! #CXXMAKEDEPEND += -D__cplusplus -D__GNUG__ -D__GNUC__
! #CXXDEBUGFLAGS =
! #CXXOPTIONS    =  -fhandle-exceptions -Wall -Wno-unused
! #CXXMTFLAG     =
  #
! #CXXLINK		= $(CXX)
! #CXXLINKOPTIONS  = $(CXXDEBUGFLAGS) $(CXXOPTIONS)
  #
  # CXXLINKOPTIONS += $(patsubst %,-R %,$(IMPORT_LIBRARY_DIRS))
  # Note: the -R linker option in CXXLINKOPTIONS instruct the Sun linker to
--- 46,61 ----
  #
  # To use gcc uncomment the following lines:
  #
! CPP = gcc
  #
! CXX = g++
! CXXMAKEDEPEND += -D__cplusplus -D__GNUG__ -D__GNUC__
! CXXDEBUGFLAGS =
! CXXOPTIONS    =  -Wall -Wno-unused
! CXXMTFLAG     =
  #
! CXXLINK		= $(CXX)
! CXXLINKOPTIONS  = $(CXXDEBUGFLAGS) $(CXXOPTIONS)
  #
  # CXXLINKOPTIONS += $(patsubst %,-R %,$(IMPORT_LIBRARY_DIRS))
  # Note: the -R linker option in CXXLINKOPTIONS instruct the Sun linker to