openSUSE Forums > Archives > Novell Archives » Missing libgcc_s

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-Jan-2007, 05:28
nwagner@iam.uni-stuttgart.de
Guest
 
Posts: n/a
Default Missing libgcc_s

When I try to build numpy on a x86_64 machne using openSUSE10.2 I get

....
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC

creating build/temp.linux-x86_64-2.5/numpy/core/blasdot
compile options: '-DNO_ATLAS_INFO=1 -Inumpy/core/blasdot
-Inumpy/core/include -Ibuild/src.linux-x86_64-2.5/numpy/core
-Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.5 -c'
gcc: numpy/core/blasdot/_dotblas.c
/usr/bin/g77 -g -Wall -shared
build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib64
-L/usr/lib/python2.5/config -lblas -lpython2.5 -lg2c -o
build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld:
cannot find -lgcc_s
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld:
cannot find -lgcc_s
error: Command "/usr/bin/g77 -g -Wall -shared
build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib64
-L/usr/lib/python2.5/config -lblas -lpython2.5 -lg2c -o
build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so" failed with exit status 1

Any pointer how to resolve this problem is appreciated.

Nils

  #2 (permalink)  
Old 04-Jan-2007, 07:30
Markus Koßmann
Guest
 
Posts: n/a
Default Re: Missing libgcc_s

nwagner@iam.uni-stuttgart.de wrote:

> When I try to build numpy on a x86_64 machne using openSUSE10.2 I get
>
> ...
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2
> -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC
>
> creating build/temp.linux-x86_64-2.5/numpy/core/blasdot
> compile options: '-DNO_ATLAS_INFO=1 -Inumpy/core/blasdot
> -Inumpy/core/include -Ibuild/src.linux-x86_64-2.5/numpy/core
> -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.5 -c'
> gcc: numpy/core/blasdot/_dotblas.c
> /usr/bin/g77 -g -Wall -shared
> build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib64
> -L/usr/lib/python2.5/config -lblas -lpython2.5 -lg2c -o
> build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lgcc_s
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld:
> cannot find -lgcc_s
> error: Command "/usr/bin/g77 -g -Wall -shared
> build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/usr/lib64
> -L/usr/lib/python2.5/config -lblas -lpython2.5 -lg2c -o
> build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so" failed with exit status
> 1
>
> Any pointer how to resolve this problem is appreciated.

The problem is that there is no g77 coming with gcc-4.1.3. Gcc-4.x has
switched to gfortran. The g77 package coming with SUSE is based on
gcc-3.3.5 and SUSE missed to pack the libgcc_s from gcc-3.3.5 into the g77
package.
The best solution would be to make numpy using gfortran instead of g77.
But that may need a lot of porting work.
The other workaround is to get a libgcc_s from a complete gcc-3.3.5
installation ( IIRC SUSE-9.3 used gcc-3.3.5 as system compiler) an copy it
into /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5


 

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2