You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/08/23 00:20:30 UTC

[jira] Created: (STDCXX-525) [SGI MIPSpro/IRIX] unsats on pthread_once()

[SGI MIPSpro/IRIX] unsats on pthread_once()
-------------------------------------------

                 Key: STDCXX-525
                 URL: https://issues.apache.org/jira/browse/STDCXX-525
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Configuration
    Affects Versions: trunk
         Environment: SGI MIPSpro 7.41/IRIX 6.5
            Reporter: Martin Sebor
            Assignee: Martin Sebor
            Priority: Blocker
             Fix For: 4.2


All programs are failing to link due to an unsat on pthread_once() referenced from the library (once.o):

gmake: Entering directory `$(BUILDDIR)/examples'
CC -c -I$(TOPDIR)/include/ansi   -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include  -O -OPT:Olimit=0  -64 -ansiW -woff1429,1460,1521,3150,3333   $(TOPDIR)/examples/manual/accumulate.cpp
CC accumulate.o -o accumulate -Wl,-woff,84 -LANG:std=off  -lpthread -64 -L$(BUILDDIR)/lib  -lstd  -lm 

--- C++ prelinker: accumulate.o ---
 CC -DEFAULT:abi=n32:isa=mips4:proc=r10k -c -I$(TOPDIR)/include/ansi -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 $(TOPDIR)/examples/manual/accumulate.cpp

--- C++ prelinker: accumulate.o ---
 CC -DEFAULT:abi=n32:isa=mips4:proc=r10k -DEFAULT:abi=n32:isa=mips4:proc=r10k -c -I$(TOPDIR)/include/ansi -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 $(TOPDIR)/examples/manual/accumulate.cpp
ld64: ERROR   33 : Unresolved text symbol "pthread_once" -- 1st referenced by $(BUILDDIR)/lib/libstd.a(once.o).
	Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld64: INFO    152: Output file removed because of error.
gmake: *** [accumulate] Error 2


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


[jira] Closed: (STDCXX-525) [SGI MIPSpro/IRIX] unsats on pthread_once()

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor closed STDCXX-525.
-------------------------------

    Resolution: Fixed

A successful pthreads build from last night confirms the patch took care of it.

> [SGI MIPSpro/IRIX] unsats on pthread_once()
> -------------------------------------------
>
>                 Key: STDCXX-525
>                 URL: https://issues.apache.org/jira/browse/STDCXX-525
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: trunk
>         Environment: SGI MIPSpro 7.41/IRIX 6.5
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Blocker
>             Fix For: 4.2
>
>
> All programs are failing to link due to an unsat on pthread_once() referenced from the library (once.o):
> gmake: Entering directory `$(BUILDDIR)/examples'
> CC -c -I$(TOPDIR)/include/ansi   -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include  -O -OPT:Olimit=0  -64 -ansiW -woff1429,1460,1521,3150,3333   $(TOPDIR)/examples/manual/accumulate.cpp
> CC accumulate.o -o accumulate -Wl,-woff,84 -LANG:std=off  -lpthread -64 -L$(BUILDDIR)/lib  -lstd  -lm 
> --- C++ prelinker: accumulate.o ---
>  CC -DEFAULT:abi=n32:isa=mips4:proc=r10k -c -I$(TOPDIR)/include/ansi -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 $(TOPDIR)/examples/manual/accumulate.cpp
> --- C++ prelinker: accumulate.o ---
>  CC -DEFAULT:abi=n32:isa=mips4:proc=r10k -DEFAULT:abi=n32:isa=mips4:proc=r10k -c -I$(TOPDIR)/include/ansi -D_REENTRANT -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/include -O -OPT:Olimit=0 -64 -ansiW -woff1429,1460,1521,3150,3333 $(TOPDIR)/examples/manual/accumulate.cpp
> ld64: ERROR   33 : Unresolved text symbol "pthread_once" -- 1st referenced by $(BUILDDIR)/lib/libstd.a(once.o).
> 	Use linker option -v to see when and which objects, archives and dsos are loaded.  
> ld64: INFO    152: Output file removed because of error.
> gmake: *** [accumulate] Error 2

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