Bug 528 - TAO compilation failed with aCC
Summary: TAO compilation failed with aCC
Status: CLOSED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.1
Hardware: HP RISC HP-UX
: P1 blocker
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2000-04-06 09:28 CDT by Sandrine BRISSON
Modified: 2000-04-07 08:31 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandrine BRISSON 2000-04-06 09:28:21 CDT
Patchs installed on cdur :
PHCO_10947 B.10.00.00.AA  cumulative libHcurses patch
PHCO_14645 B.10.00.00.AA  libc cumulative header file patch
PHCO_20441 B.10.00.00.AA  libc cumulative patch
PHKL_15240 B.10.00.00.AA  Header file conformance for types.h and
unistd.h
PHNE_15202 B.10.00.00.AA  STREAMS cumulative patch (includes XTI/TLI)
PHNE_19937 B.10.00.00.AA  cumulative ARPA Transport patch
PHSS_12694 B.10.00.00.AA  and 10.20 UCOMP/LIBMP patch
PHSS_16586 B.10.00.00.AA  HP aC++ (aCC A.01.18) to fix numerous defects
PHSS_17225 B.10.00.00.AA  dld.sl(5) cumulative patch
PHSS_17872 B.10.00.00.AA  HP aC++ runtime libraries (aCC A.01.21)
PHSS_20058 B.10.00.00.AA  ld(1) and som tools cumulative patch
PHSS_20607 B.10.00.00.AA  millicode library (milli.a) cumulative patch


AREA/CLASS/EXAMPLE AFFECTED:
    Tao library compilation failed

    $ACE_ROOT/ace/config.h is config-hpux-10.x-hpc++.h
    $ACE_ROOT/include/makeinclude/platform_hpux_aCC.GNU

SYNOPSIS:

    ACE (width threads=1) and gperf compile and link successfuly. Tests OK.
    no change was made on config and macro files

    ORB TAO compilation failed.

DESCRIPTION:

    When compile tao library with threads
    /opt/aCC/bin/aCC -g -DACE_HAS_THREADS -D_REENTRANT -DHPUX_VERS=1020
-DACE_LACKS_PRAGMA_ONCE +W302 +W495,667,829 +DAportable -I$ACE_ROOT
-DTAO_HAS_AMI=0 -DTAO_HAS_AMI_POLLER=0 -DTAO_HAS_AMI_CALLBACK=0
-DTAO_HAS_RT_CORBA=1 -DTAO_HAS_CORBA_MESSAGING=1    -I$TAO_ROOT  -c +Z
-o .shobj/Object_Adapter.o Object_Adapter.cpp
    make: *** [.shobj/Object_Adapter.o] Error 2


    When compile tao library without thread (clean first):

    /opt/aCC/bin/aCC -g  -DHPUX_VERS=1020 -DACE_LACKS_PRAGMA_ONCE +W302
+W495,667,829 +DAportable   -I$ACE_ROOT -DTAO_HAS_AMI=0
-DTAO_HAS_AMI_POLLER=0 -DTAO_HAS_AMI_CALLBACK=0 -DTAO_HAS_RT_CORBA=1
-DTAO_HAS_CORBA_MESSAGING=1    -I$TAO_ROOT  -c +Z -o .shobj/POA.o
POA.cpp
    make: *** [.shobj/POA.o] Error 2


REPEAT BY:

When compile TAO_IDL with threads
Comment 1 levine 2000-04-06 09:30:59 CDT
Sorry, we don't have access to an HP-UX machine.
You might ask Riverace <www.riverace.com> for
commercial support.
Comment 2 Steve Huston 2000-04-06 09:57:59 CDT
Try doubling your kernel's maxdsiz parameter. Check the www.riverace.com FAQ
page for more details.
Comment 3 Sandrine BRISSON 2000-04-07 08:31:59 CDT
Try doubling your kernel's maxdsiz parameter. (0x08000000)
With this modification, that seems to work now !

Don't forget to add this modification in FAQ answer on HPUX 10.20.