public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/28247]  New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64
@ 2006-07-04 13:55 tiamat at komi dot mts dot ru
  2006-07-04 14:35 ` [Bug libstdc++/28247] libstdc++ cannot be build on Solaris 9 ebotcazou at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: tiamat at komi dot mts dot ru @ 2006-07-04 13:55 UTC (permalink / raw)
  To: gcc-bugs

gcc 4.1.1 cannot buld on Solaris 9 sparc:

$ ./configure --prefix=/home/gcc --enable-threads=solaris
--enable-languages=c,c++ --enable-shared=libstdc++ --disable-multilib
--disable-nls sparc64-sun-solaris2.9

$ make
...
/home/devel/tmp/gcc-4.1.1/objdir/./gcc/xgcc -shared-libgcc
-B/home/devel/tmp/gcc-4.1.1/objdir/./gcc -nostdinc++
-L/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/src
-L/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/src/.libs
-B/home/gcc/sparc64-sun-solaris2.9/bin/ -B/home/gcc/sparc64-sun-solaris2.9/lib/
-isystem /home/gcc/sparc64-sun-solaris2.9/include -isystem
/home/gcc/sparc64-sun-solaris2.9/sys-include
-I/home/devel/tmp/gcc-4.1.1/libstdc++-v3/../gcc
-I/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9
-I/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include
-I/home/devel/tmp/gcc-4.1.1/libstdc++-v3/libsupc++ -g -O2
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c
../../../../libstdc++-v3/libsupc++/eh_alloc.cc  -fPIC -DPIC -o eh_alloc.o
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:437:
warning: unused parameter 'key'
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:
In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:456:
warning: cast from type 'const void*' to type 'void*' casts away constness
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:
In function 'int
__gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:491:
error: '__gthrw_mutex_init' was not declared in this scope
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:
In function 'int __gthread_recursive_mutex_lock(__gthread_recursive_mutex_t*)':
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:499:
error: '__gthrw_thr_self' was not declared in this scope
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:
In function 'int
__gthread_recursive_mutex_trylock(__gthread_recursive_mutex_t*)':
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:517:
error: '__gthrw_thr_self' was not declared in this scope
make[4]: *** [eh_alloc.lo] Error 1
make[4]: Leaving directory
`/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/devel/tmp/gcc-4.1.1/objdir'
make: *** [all] Error 2

try  with gcc-4.0.3 and SUN cc 5.8


-- 
           Summary: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tiamat at komi dot mts dot ru


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug libstdc++/28247] libstdc++ cannot be build on Solaris 9
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
@ 2006-07-04 14:35 ` ebotcazou at gcc dot gnu dot org
  2006-07-04 17:01 ` [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads ebotcazou at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-07-04 14:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ebotcazou at gcc dot gnu dot org  2006-07-04 14:35 -------
> $ ./configure --prefix=/home/gcc --enable-threads=solaris
> --enable-languages=c,c++ --enable-shared=libstdc++ --disable-multilib
> --disable-nls sparc64-sun-solaris2.9

First of all, building in the source directory is not supported.  Could you try
to remove --enable-threads=solaris from the configure line?


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING
            Summary|gcc 4.1.1/libstdc++ cannot  |libstdc++ cannot be build on
                   |buld on Solaris 9 sparc64   |Solaris 9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
  2006-07-04 14:35 ` [Bug libstdc++/28247] libstdc++ cannot be build on Solaris 9 ebotcazou at gcc dot gnu dot org
@ 2006-07-04 17:01 ` ebotcazou at gcc dot gnu dot org
  2006-07-04 17:06 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-07-04 17:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ebotcazou at gcc dot gnu dot org  2006-07-04 17:01 -------
Confirmed on SPARC/Solaris 8 and 9, 32-bit and 64-bit.


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |target
  GCC build triplet|                            |*-*-solaris2.*
   GCC host triplet|                            |*-*-solaris2.*
 GCC target triplet|                            |*-*-solaris2.*
      Known to work|                            |4.0.4
            Summary|libstdc++ cannot be build on|[4.1/4.2 regression]
                   |Solaris 9                   |libstdc++ cannot be build
                   |                            |with Solaris threads


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
  2006-07-04 14:35 ` [Bug libstdc++/28247] libstdc++ cannot be build on Solaris 9 ebotcazou at gcc dot gnu dot org
  2006-07-04 17:01 ` [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads ebotcazou at gcc dot gnu dot org
@ 2006-07-04 17:06 ` pinskia at gcc dot gnu dot org
  2006-07-04 20:06 ` Дейтер Александр Валериевич <tiamat at komi dot mts dot ru>
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-04 17:06 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-07-04 17:06:06
               date|                            |
   Target Milestone|---                         |4.1.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (2 preceding siblings ...)
  2006-07-04 17:06 ` pinskia at gcc dot gnu dot org
@ 2006-07-04 20:06 ` Дейтер Александр Валериевич <tiamat at komi dot mts dot ru>
  2006-07-17  3:04 ` mmitchel at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: Дейтер Александр Валериевич <tiamat at komi dot mts dot ru> @ 2006-07-04 20:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from =?KOI8-R?Q?=E4=C5=CA=D4=C5=D2_=E1=CC=C5=CB=D3=C1=CE=C4=D2_=F7=C1?=
 =?KOI8-R?Q?=CC=C5=D2=C9=C5=D7=C9=DE?= <tiamat at komi dot mts dot ru>  2006-07-04 20:06 -------
Subject: Re:  libstdc++ cannot be build on Solaris 9

ebotcazou at gcc dot gnu dot org wrote:

> ------- Comment #1 from ebotcazou at gcc dot gnu dot org  2006-07-04 14:35 -------
>> $ ./configure --prefix=/home/gcc --enable-threads=solaris
>> --enable-languages=c,c++ --enable-shared=libstdc++ --disable-multilib
>> --disable-nls sparc64-sun-solaris2.9
> 
> First of all, building in the source directory is not supported.  Could you try
> to remove --enable-threads=solaris from the configure line?

Ok. My steps for build without --enable-threads=solaris:

$ tar xf ../dist/gcc-4.1.1.tar.bz2
$ cd gcc-4.1.1
$ mkdir objdir
$ cd objdir
$ ../configure --prefix=/home/gcc --enable-languages=c,c++
--enable-shared=libstdc++ --disable-multilib --disable-nls
sparc64-sun-solaris2.9
...
$ make
...
$ make install
...
$ /home/gcc/bin/gcc -v
Using built-in specs.
Target: sparc64-sun-solaris2.9
Configured with: ../configure --prefix=/home/gcc
--enable-languages=c,c++ --enable-shared=libstdc++ --disable-multilib
--disable-nls sparc64-sun-solaris2.9
Thread model: posix
gcc version 4.1.1

With --enable-threads=solaris i have a same error:

/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:
In function 'int __gthread_setspecific(__gthread_key_t, const void*)':
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:456:
warning: cast from type 'const void*' to type 'void*' casts away constness
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:
In function 'int
__gthread_recursive_mutex_init_function(__gthread_recursive_mutex_t*)':
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:491:
error: '__gthrw_mutex_init' was not declared in this scope
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:
In function 'int
__gthread_recursive_mutex_lock(__gthread_recursive_mutex_t*)':
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:499:
error: '__gthrw_thr_self' was not declared in this scope
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:
In function 'int
__gthread_recursive_mutex_trylock(__gthread_recursive_mutex_t*)':
/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/include/sparc64-sun-solaris2.9/bits/gthr-default.h:517:
error: '__gthrw_thr_self' was not declared in this scope
make[4]: *** [eh_alloc.lo] Error 1
make[4]: Leaving directory
`/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/devel/tmp/gcc-4.1.1/objdir/sparc64-sun-solaris2.9/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/devel/tmp/gcc-4.1.1/objdir'
make: *** [all] Error 2

Thanks a lot!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (3 preceding siblings ...)
  2006-07-04 20:06 ` Дейтер Александр Валериевич <tiamat at komi dot mts dot ru>
@ 2006-07-17  3:04 ` mmitchel at gcc dot gnu dot org
  2006-07-23 20:14 ` sayle at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-07-17  3:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (4 preceding siblings ...)
  2006-07-17  3:04 ` mmitchel at gcc dot gnu dot org
@ 2006-07-23 20:14 ` sayle at gcc dot gnu dot org
  2006-07-24  7:30 ` sayle at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-07-23 20:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from sayle at gcc dot gnu dot org  2006-07-23 20:14 -------
Subject: Bug 28247

Author: sayle
Date: Sun Jul 23 20:14:44 2006
New Revision: 115686

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115686
Log:

        PR target/28247
        * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
        mutex_destroy even when !_LIBOOBJC.  Remove duplicate prototype of
        the __gthrw form of thr_keycreate.
        (__gthread_key_delete): Silence the unused argument warning.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gthr-solaris.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (5 preceding siblings ...)
  2006-07-23 20:14 ` sayle at gcc dot gnu dot org
@ 2006-07-24  7:30 ` sayle at gcc dot gnu dot org
  2006-07-31 23:49 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: sayle at gcc dot gnu dot org @ 2006-07-24  7:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from sayle at gcc dot gnu dot org  2006-07-24 07:29 -------
Subject: Bug 28247

Author: sayle
Date: Mon Jul 24 07:29:46 2006
New Revision: 115707

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115707
Log:

        PR target/28247
        * gthr-solaris.h: Prototype __gthrw forms of thr_self, mutex_init and
        mutex_destroy even when !_LIBOOBJC.  Remove duplicate prototype of
        the __gthrw form of thr_keycreate.
        (__gthread_key_delete): Silence the unused argument warning.


Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/gthr-solaris.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (6 preceding siblings ...)
  2006-07-24  7:30 ` sayle at gcc dot gnu dot org
@ 2006-07-31 23:49 ` mmitchel at gcc dot gnu dot org
  2006-08-01  0:15 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-07-31 23:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mmitchel at gcc dot gnu dot org  2006-07-31 23:49 -------
Should this issue be closed now that Roger's patches have been applied?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (7 preceding siblings ...)
  2006-07-31 23:49 ` mmitchel at gcc dot gnu dot org
@ 2006-08-01  0:15 ` pinskia at gcc dot gnu dot org
  2006-08-09 13:52 ` jr at e-integration dot net
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-01  0:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2006-08-01 00:15 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (8 preceding siblings ...)
  2006-08-01  0:15 ` pinskia at gcc dot gnu dot org
@ 2006-08-09 13:52 ` jr at e-integration dot net
  2006-08-09 15:52 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: jr at e-integration dot net @ 2006-08-09 13:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jr at e-integration dot net  2006-08-09 13:52 -------
Created an attachment (id=12046)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12046&action=view)
gcc-4.1.1/gcc/gthr-solaris.h  weak declaration

Fails with latest gcc-4.1.1/gcc/gthr-solaris.h file during bootstrap.

CONFIGURE:

/gcc-4.1.1/configure sparc64-sun-solaris2.9 \                                   
--prefix=/opt/compiler/GNU/gcc41/gcc-4.1.1 \                                    
--with-gmp --with-mpfr \                                                        
--enable-threads=solaris \                                                      
--enable-static --enable-shared \                                               
--enable-haifa --with-dwarf2 \                                                  
--enable-nls --with-cpu=v9 \                                                    
--with-included-gettext \                                                       
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld \                           
--enable-languages=c,c++,objc,fortran                                           

Note:  Using CPPFLAGS, CFLAGS, and CXXFLAGS for GMP and MPFR                    
libraries/includes.                                             

MAKE BOOTSTRAP:

make[4]: Leaving directory `/misc/reloc/root-unified/j/jtaisto/gcc-build/gcc'
./xgcc -B./
-B/opt/OIT/pkg/compiler/GNU/gcc41/gcc-4.1.1/sparc64-sun-solaris2.9/bin/
-isystem
/opt/OIT/pkg/compiler/GNU/gcc41/gcc-4.1.1/sparc64-sun-solaris2.9/include
-isystem
/opt/OIT/pkg/compiler/GNU/gcc41/gcc-4.1.1/sparc64-sun-solaris2.9/sys-include
-L/unified/j/jtaisto/gcc-build/gcc/../ld -O2  -O2 -g -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I -I/gcc-4.1.1/gcc -I/gcc-4.1.1/gcc/
-I/gcc-4.1.1/gcc/../include -I./../intl -I/gcc-4.1.1/gcc/../libcpp/include
-Iyes/include -Iyes/include -fexceptions  -c /gcc-4.1.1/gcc/unwind-dw2.c -o
libgcc/./unwind-dw2.o
In file included from ./gthr-default.h:1,
                 from /gcc-4.1.1/gcc/gthr.h:114,
                 from /gcc-4.1.1/gcc/unwind-dw2.c:42:
/gcc-4.1.1/gcc/gthr-solaris.h:74: error: weak declaration of
'__gthrw_thr_keycreate' must be public
/gcc-4.1.1/gcc/gthr-solaris.h:75: error: weak declaration of
'__gthrw_thr_getspecific' must be public
/gcc-4.1.1/gcc/gthr-solaris.h:76: error: weak declaration of
'__gthrw_thr_setspecific' must be public
/gcc-4.1.1/gcc/gthr-solaris.h:77: error: weak declaration of
'__gthrw_thr_create' must be public
/gcc-4.1.1/gcc/gthr-solaris.h:78: error: weak declaration of '__gthrw_thr_self'
must be public
/gcc-4.1.1/gcc/gthr-solaris.h:80: error: weak declaration of
'__gthrw_mutex_init' must be public
/gcc-4.1.1/gcc/gthr-solaris.h:81: error: weak declaration of
'__gthrw_mutex_destroy' must be public
/gcc-4.1.1/gcc/gthr-solaris.h:82: error: weak declaration of
'__gthrw_mutex_lock' must be public
/gcc-4.1.1/gcc/gthr-solaris.h:83: error: weak declaration of
'__gthrw_mutex_trylock' must be public
/gcc-4.1.1/gcc/gthr-solaris.h:84: error: weak declaration of
'__gthrw_mutex_unlock' must be public
make[3]: *** [libgcc/./unwind-dw2.o] Error 1
make[3]: Leaving directory `/misc/reloc/root-unified/j/jtaisto/gcc-build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/misc/reloc/root-unified/j/jtaisto/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/misc/reloc/root-unified/j/jtaisto/gcc-build/gcc'
make: *** [bootstrap] Error 2


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (9 preceding siblings ...)
  2006-08-09 13:52 ` jr at e-integration dot net
@ 2006-08-09 15:52 ` ebotcazou at gcc dot gnu dot org
  2006-08-09 16:44 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-08-09 15:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from ebotcazou at gcc dot gnu dot org  2006-08-09 15:52 -------
> Fails with latest gcc-4.1.1/gcc/gthr-solaris.h file during bootstrap.

As indicated in the "target milestone" field, this will be fixed in 4.1.2.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (10 preceding siblings ...)
  2006-08-09 15:52 ` ebotcazou at gcc dot gnu dot org
@ 2006-08-09 16:44 ` pinskia at gcc dot gnu dot org
  2006-08-09 20:03 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-09 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-08-09 16:44 -------
*** Bug 28665 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jr at e-integration dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (11 preceding siblings ...)
  2006-08-09 16:44 ` pinskia at gcc dot gnu dot org
@ 2006-08-09 20:03 ` ebotcazou at gcc dot gnu dot org
  2010-04-28 20:15 ` ro at gcc dot gnu dot org
  2010-04-28 20:16 ` ro at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-08-09 20:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ebotcazou at gcc dot gnu dot org  2006-08-09 20:03 -------
poog% uname -a
SunOS poog 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Fire-V250
poog% gcc/xgcc -v
Using built-in specs.
Target: sparc64-sun-solaris2.9
Configured with: /home/eric/svn/gcc-4_1-branch/configure
sparc64-sun-solaris2.9--prefix=/opt/build/eric/gcc-4_1-branch
--with-local-prefix=/opt/build/eric/local --enable-languages=c,c++
--enable-shared --enable-threads=solaris --disable-multilib --disable-nls
Thread model: solaris
gcc version 4.1.2 20060806 (prerelease)


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (12 preceding siblings ...)
  2006-08-09 20:03 ` ebotcazou at gcc dot gnu dot org
@ 2010-04-28 20:15 ` ro at gcc dot gnu dot org
  2010-04-28 20:16 ` ro at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-28 20:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from ro at gcc dot gnu dot org  2010-04-28 20:15 -------
Reopened ...


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|VERIFIED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
  2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
                   ` (13 preceding siblings ...)
  2010-04-28 20:15 ` ro at gcc dot gnu dot org
@ 2010-04-28 20:16 ` ro at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-28 20:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from ro at gcc dot gnu dot org  2010-04-28 20:15 -------
... to close as FIXED.


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-04-28 20:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-04 13:55 [Bug libstdc++/28247] New: gcc 4.1.1/libstdc++ cannot buld on Solaris 9 sparc64 tiamat at komi dot mts dot ru
2006-07-04 14:35 ` [Bug libstdc++/28247] libstdc++ cannot be build on Solaris 9 ebotcazou at gcc dot gnu dot org
2006-07-04 17:01 ` [Bug target/28247] [4.1/4.2 regression] libstdc++ cannot be build with Solaris threads ebotcazou at gcc dot gnu dot org
2006-07-04 17:06 ` pinskia at gcc dot gnu dot org
2006-07-04 20:06 ` Дейтер Александр Валериевич <tiamat at komi dot mts dot ru>
2006-07-17  3:04 ` mmitchel at gcc dot gnu dot org
2006-07-23 20:14 ` sayle at gcc dot gnu dot org
2006-07-24  7:30 ` sayle at gcc dot gnu dot org
2006-07-31 23:49 ` mmitchel at gcc dot gnu dot org
2006-08-01  0:15 ` pinskia at gcc dot gnu dot org
2006-08-09 13:52 ` jr at e-integration dot net
2006-08-09 15:52 ` ebotcazou at gcc dot gnu dot org
2006-08-09 16:44 ` pinskia at gcc dot gnu dot org
2006-08-09 20:03 ` ebotcazou at gcc dot gnu dot org
2010-04-28 20:15 ` ro at gcc dot gnu dot org
2010-04-28 20:16 ` ro at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).