[ 
https://issues.apache.org/jira/browse/STDCXX-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496174
 ] 

Martin Sebor commented on STDCXX-417:
-------------------------------------

This is with as version 2.15:

$ as --version
GNU assembler 2.15.90.0.1.1 20040303 (SuSE Linux)
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i586-suse-linux'.

The GNU as manual has this to say about the as .type directive:
http://sourceware.org/binutils/docs-2.15/as/Type.html#Type

> [gcc 3.3.3/x86] warning: type and size of dynamic symbol `__rw_atomic_add32' 
> are not defined
> --------------------------------------------------------------------------------------------
>
>                 Key: STDCXX-417
>                 URL: https://issues.apache.org/jira/browse/STDCXX-417
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.2
>         Environment: gcc 3.3.3, Linux/x86
>            Reporter: Martin Sebor
>         Assigned To: Martin Sebor
>
> Many of our programs are linking with the ominous looking warning below. This 
> only happens on trunk, not with stdcxx-4.1.3.
> gcc alg1.o -o alg1 -pthread -L$(BUILDDIR)/lib  -Wl,-R$(BUILDDIR)/lib -lstd 
> -lsupc++ -lm 
> /package/1/utils/binutils/binutils-2.15.90.0.1.1-32.10/bin/ld: warning: type 
> and size of dynamic symbol `__rw_atomic_add32' are not defined
> gcc -c -I$(TOPDIR)/include/ansi   -pthread -I$(TOPDIR)/include 
> -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include  -pedantic -nostdinc++ -O2 
>  -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long 
> -Wcast-align   $(TOPDIR)/examples/tutorial/alg2.cpp
> gcc alg2.o -o alg2 -pthread -L$(BUILDDIR)/lib  -Wl,-R$(BUILDDIR)/lib -lstd 
> -lsupc++ -lm 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to