From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27297 invoked by alias); 9 Nov 2002 18:06:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 27262 invoked by uid 71); 9 Nov 2002 18:06:01 -0000 Resent-Date: 9 Nov 2002 18:06:01 -0000 Resent-Message-ID: <20021109180601.27261.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, dave.anglin@nrc.ca Received: (qmail 25878 invoked by uid 61); 9 Nov 2002 17:58:45 -0000 Message-Id: <20021109175845.25877.qmail@sources.redhat.com> Date: Sat, 09 Nov 2002 10:06:00 -0000 From: dave.anglin@nrc.ca Reply-To: dave.anglin@nrc.ca To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/8512: libstdc++-v3 fails to build with HP assembler X-SW-Source: 2002-11/txt/msg00462.txt.bz2 List-Id: >Number: 8512 >Category: c++ >Synopsis: libstdc++-v3 fails to build with HP assembler >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat Nov 09 10:06:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Dave Anglin >Release: gcc-3.3 (experimental) >Organization: >Environment: hppa64-hp-hpux11.11. The problem also likely affects hppa2.0-hp-hpux11*. >Description: /xxx/gnu/gcc-3.3/objdir/gcc/xgcc -shared-libgcc -B/xxx/gnu/gcc-3.3/objdir/gcc/ - nostdinc++ -L/xxx/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src -L/xxx /gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs -B/opt/gnu64/hppa 64-hp-hpux11.11/bin/ -B/opt/gnu64/hppa64-hp-hpux11.11/lib/ -isystem /opt/gnu64/h ppa64-hp-hpux11.11/include -I../../../../gcc/libstdc++-v3/../gcc -I../../../../g cc/libstdc++-v3/../include -I/xxx/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/libstdc ++-v3/include/hppa64-hp-hpux11.11 -I/xxx/gnu/gcc-3.3/objdir/hppa64-hp-hpux11.11/ libstdc++-v3/include -I../../../../gcc/libstdc++-v3/libsupc++ -g -O2 -fno-implic it-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-lo cation=once -g -c ../../../../gcc/libstdc++-v3/libsupc++/eh_aux_runtime.cc cc1plus: warning: -g is only supported when using GAS on this processor, cc1plus: warning: -g option disabled as: error 7403: undefined label - _ZTISt8bad_cast (7403) On the PA under hpux, undefined external symbols need to be "imported" to set the type of the symbol. If this isn't done, the dynamic loader won't be able to resolve the address of the symbol correctly. The HP SOM linker is also known to dump core if a P fixup occurs for a data symbol that should be a function symbol. The GNU assembler doesn't treat the above as an error but the executable may malfunction in a subtle way. Thus, this needs to be fixed for correct operation with the GNU assembler as well. This appears to be a regression from 3.0.2 where we had similar problems with typeinfo nodes in the regression fix phase. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: