Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Peter Petrakis <ppetrakis@firestorm.tzo.org>
To: axp-list@redhat.com
Subject: omniorb build fails, glibc bug?
Date: Sun, 14 May 2000 17:55:36 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.21.0005141747260.7075-200000@voodoo.alphalinux.org> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 3232 bytes --]

Hi Guys,
This a foward of what I sent to the omniorb mailing list. I don't know if
it's glibc or  a compiler bug. Any insight on the subject are very much
appreciated. Thanks.

Peter

-- 
www.alphalinux.org
Peter Petrakis         Warrior/Engineer        ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."

---------- Forwarded message ----------
Date: Sun, 14 May 2000 17:46:52 -0400 (EDT)
From: Peter Petrakis <ppetrakis@voodoo.alphalinux.org>
To: omniorb-list@uk.research.att.com
Subject: alphalinux port issues.

Hello,
I'm trying to port omniorb to AlphaLinux using the Compaq C++ compilers
(cxx 6.3) and gcc. I created a new platform file and modified it, it is
attached. I then create an entry on the config.mk file and procede to src/
and execute make export, After about 5 mins I get the following...

making export in src/lib/omnithread/sharedlib... make[3]: Entering
directory `/usr/src/redhat/BUILD/omniORB_280/src/lib/omnithread/sharedlib'
make[3]: Nothing to be done for `export'. make[3]: Leaving directory
`/usr/src/redhat/BUILD/omniORB_280/src/lib/omnithread/sharedlib' make[2]:
Leaving directory `/usr/src/redhat/BUILD/omniORB_280/src/lib/omnithread'
making export in src/lib/omniORB2... make[2]: Entering directory
`/usr/src/redhat/BUILD/omniORB_280/src/lib/omniORB2'if [ "Naming.idl" !=
Naming.idl ]; then cp Naming.idl . ; fi
../../../bin/alpha_linux_2.0_glibc/omniidl2 -a Naming.idl make[2]: ***
[Naming.hh] Segmentation fault (core dumped) make[2]: Leaving directory
`/usr/src/redhat/BUILD/omniORB_280/src/lib/omniORB2' make[1]: *** [export]
Error 1 make[1]: Leaving directory
`/usr/src/redhat/BUILD/omniORB_280/src/lib'
make: *** [export] Error 1                                             

here's a back trace of omniidl2 ...

warning: "/usr/src/redhat/BUILD/omniORB_280/src/lib/omniORB2/core":
ambiguous core format, 2 handlers match Core was generated by
`../../../bin/alpha_linux_2.0_glibc/omniidl2 -a Naming.idl'. Program
terminated with signal 11, Segmentation fault. Reading symbols from
/lib/libc.so.6.1...done. Reading symbols from /usr/lib/libots.so...done.
Reading symbols from /lib/ld-linux.so.2...done. #0 0x120053d74 in
__7narrow__9o2be_rootFl () 
(gdb) bt 
#0 0x120053d74 in __7narrow__9o2be_rootFl () 
#1 0x1200c79f8 in __7narrow_from_scope__10AST_ModuleSFP9UTL_Scope () 
#2 0x1200dec88 in __7ScopeAsDecl__FP9UTL_Scope () 
#3 0x1200d9ea8 in __7push__14UTL_ScopeStackFP9UTL_Scope () 
#4 0x1200a8b08 in __7FE_init_stage2__Fv () 
#5 0x120003bfc in __7DRV_drive__FPc () 
#6 0x1200042e0 in main () 
#7 0x2000014f924 in __libc_start_main
(main=0x120004190 <main>, argc=3,
    argv=0x11ffff9f8, init=0x120002480 <_init>, fini=0x12013d360 <_fini>,
    rtld_fini=0x2000011d6a8, stack_end=0x11ffff9e0)
    at ../sysdeps/generic/libc-start.c:92                               

This was built on a RH 6.2 system using the latest cxx compilers running
kernel-2.3.99-6. Any ideas? Thanks. 

Peter 
-- 
www.alphalinux.org 
Peter Petrakis 		Warrior/Engineer       ppetrakis@alphalinux.org 
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."     

[-- Attachment #2: Type: TEXT/PLAIN, Size: 2021 bytes --]

#
# alpha_linux_2.0_glibc.mk - make variables and rules specific to Linux 2.0
#                           and glibc-2.0 
#

Linux = 1
AlphaProcessor = 1


#
# Include general unix things
#

include $(THIS_IMPORT_TREE)/mk/unix.mk


#
# Standard programs
#

AR = ar cq

CPP = /lib/cpp

CXX = /usr/bin/cxx
CXXMAKEDEPEND = $(TOP)/$(BINDIR)/omkdepend -D__cplusplus -D__DECCXX 
CXXDEBUGFLAGS = -O2 

CXXLINK		= $(CXX)
CXXLINKOPTIONS  = $(CXXDEBUGFLAGS) $(CXXOPTIONS) -call_shared \
		$(patsubst %,-Wl$(comma)-rpath$(comma)%,$(IMPORT_LIBRARY_DIRS))

CXXOPTIONS      = -Wall -Wno-unused -ptr $(TOP)/cxx_respository

DecCxxMajorVersion = 6
DecCxxMinorVersion = 3 #Compaq C++ compiler for AlphaLinux


CC           = /usr/bin/gcc
CMAKEDEPEND  = $(TOP)/$(BINDIR)/omkdepend -D__GNUC__
CDEBUGFLAGS  = -O

CLINK        = $(CC)
CLINKOPTIONS = $(CDEBUGFLAGS) $(COPTIONS) \
	       $(patsubst %,-Wl$(comma)-rpath$(comma)%,$(IMPORT_LIBRARY_DIRS))

INSTALL = install -c

IMPORT_CPPFLAGS += -D__alpha__ -D__linux__ -D__OSVERSION__=2


#
# CORBA stuff
#

omniORB2GatekeeperImplementation = OMNIORB2_TCPWRAPGK
CorbaImplementation = OMNIORB2

#
# OMNI thread stuff
#

ThreadSystem = Posix
OMNITHREAD_POSIX_CPPFLAGS = -DNoNanoSleep
OMNITHREAD_CPPFLAGS = -D_REENTRANT
OMNITHREAD_LIB = $(patsubst %,$(LibSearchPattern),omnithread)

ifndef UseMITthreads
OMNITHREAD_POSIX_CPPFLAGS += -DPthreadDraftVersion=10
OMNITHREAD_LIB += -lpthread
else
OMNITHREAD_POSIX_CPPFLAGS += -DPthreadDraftVersion=8 
OMNITHREAD_CPPFLAGS += -D_MIT_POSIX_THREADS
OMNITHREAD_LIB += -lpthreads
endif

lib_depend := $(patsubst %,$(LibPattern),omnithread)
OMNITHREAD_LIB_DEPEND := $(GENERATE_LIB_DEPEND)


# Default location of the omniORB2 configuration file [falls back to this if
# the environment variable OMNIORB_CONFIG is not set] :

OMNIORB_CONFIG_DEFAULT_LOCATION = /etc/omniORB.cfg

# Default directory for the omniNames log files.
OMNINAMES_LOG_DEFAULT_LOCATION = /var/omninames

                 reply	other threads:[~2000-05-14 21:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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