SPECS (DEVEL): crosssparc64-uClibc.spec - die long double, DIE !

sparky sparky at pld-linux.org
Fri Oct 27 23:32:26 CEST 2006


Author: sparky                       Date: Fri Oct 27 21:32:26 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- die long double, DIE !

---- Files affected:
SPECS:
   crosssparc64-uClibc.spec (1.1.2.1 -> 1.1.2.2) 

---- Diffs:

================================================================
Index: SPECS/crosssparc64-uClibc.spec
diff -u SPECS/crosssparc64-uClibc.spec:1.1.2.1 SPECS/crosssparc64-uClibc.spec:1.1.2.2
--- SPECS/crosssparc64-uClibc.spec:1.1.2.1	Fri Oct 27 21:54:27 2006
+++ SPECS/crosssparc64-uClibc.spec	Fri Oct 27 23:32:20 2006
@@ -29,7 +29,8 @@
 %define		TARGET_ARCH	sparc
 %define		TARGET_CPU	sparc64
 
-%define		_noautostrip	.*/lib.*\\.a
+%define		_noautostrip	.*/lib.*
+%define		no_install_post_chrpath	1
 %define		_target_cflags	-fno-strict-aliasing -fwrapv -mcpu=ultrasparc -m64 -Os
 
 # FIXME: build fails if CC contains spaces
@@ -96,6 +97,9 @@
 %{__perl} -pi -e 's/^(rm.*asm)\*/$1/' extra/scripts/fix_includes.sh
 %endif
 
+find -type f | xargs sed -i 's/long double/double/g'
+sed 's/jmp __syscall_error/bcs __syscall_error/' -i libc/sysdeps/linux/sparc/clone.S
+
 %build
 %{__make} defconfig \
 	TARGET_ARCH="%{TARGET_ARCH}" \
@@ -106,9 +110,6 @@
 	OPTIMIZATION="%{_target_cflags}" \
 	CROSS="%{TARGET_CPU}-pld-linux-"
 
-# disable shared library, for now (fails to link)
-sed 's/HAVE_SHARED=y/# HAVE_SHARED is not set/' -i .config
-
 mv -f .config .config.tmp
 sed -e 's/^.*UCLIBC_HAS_IPV6.*$/UCLIBC_HAS_IPV6=y/;
 	s/^.*DO_C99_MATH.*$/DO_C99_MATH=y/;
@@ -175,8 +176,8 @@
 %defattr(644,root,root,755)
 %doc Changelog* DEDICATION.mjn3 MAINTAINERS README TODO docs/threads.txt
 %dir %{_prefix}/%{TARGET_CPU}-linux-uclibc
-#%dir %{_prefix}/%{TARGET_CPU}-linux-uclibc/lib
-#%attr(755,root,root) %{_prefix}/%{TARGET_CPU}-linux-uclibc/lib/*.so*
+%dir %{_prefix}/%{TARGET_CPU}-linux-uclibc/lib
+%attr(755,root,root) %{_prefix}/%{TARGET_CPU}-linux-uclibc/lib/*.so*
 
 %files devel
 %defattr(644,root,root,755)
@@ -187,8 +188,8 @@
 %dir %{_prefix}/%{TARGET_CPU}-linux-uclibc/usr/bin
 %attr(755,root,root) %{_prefix}/%{TARGET_CPU}-linux-uclibc/usr/bin/*
 %dir %{_prefix}/%{TARGET_CPU}-linux-uclibc/usr/lib
-#%{_prefix}/%{TARGET_CPU}-linux-uclibc/usr/lib/uclibc_nonshared.a
-#%attr(755,root,root) %{_prefix}/%{TARGET_CPU}-linux-uclibc/usr/lib/*.so
+%{_prefix}/%{TARGET_CPU}-linux-uclibc/usr/lib/uclibc_nonshared.a
+%attr(755,root,root) %{_prefix}/%{TARGET_CPU}-linux-uclibc/usr/lib/*.so
 %{_prefix}/%{TARGET_CPU}-linux-uclibc/usr/include
 
 %files static
@@ -201,6 +202,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.1.2.2  2006/10/27 21:32:20  sparky
+- die long double, DIE !
+
 Revision 1.1.2.1  2006/10/27 19:54:27  sparky
 - NEW, based on uClibc.spec at DEVEL
 - shared library fails to link
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/crosssparc64-uClibc.spec?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list