Quantcast

[ cegcc-Bugs-2830763 ] Fails to build on MacOSX 10.5.7

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ cegcc-Bugs-2830763 ] Fails to build on MacOSX 10.5.7

SourceForge.net
Bugs item #2830763, was opened at 2009-08-01 12:27
Message generated for change (Settings changed) made by dannybackx
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2830763&group_id=173455

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: MinGW32CE (arm-wince-mingw32ce
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: İsmail Dönmez (namtrac)
Assigned to: Danny Backx (dannybackx)
Summary: Fails to build on MacOSX 10.5.7

Initial Comment:
Using host gcc 4.0.1 build fails with:

Creating library file: ./shlib/libgcc_s.a.tmp
_fixunssfsi_s.o: In function `__fixunssfsi':
/Users/cartman/cegcc/src/gcc-4.4.0/libgcc/../gcc/libgcc2.c:1697: multiple definition of `__fixunssfsi'
_arm_fixunssfsi_s.o:/Users/cartman/cegcc/src/gcc-4.4.0/libgcc/../gcc/config/arm/ieee754-sf.S:1029: first defined here
_fixunsdfsi_s.o: In function `__fixunsdfsi':
/Users/cartman/cegcc/src/gcc-4.4.0/libgcc/../gcc/libgcc2.c:1675: multiple definition of `__fixunsdfsi'
_arm_fixunsdfsi_s.o:/Users/cartman/cegcc/src/gcc-4.4.0/libgcc/../gcc/config/arm/ieee754-df.S:1343: first defined here
_floatdisf_s.o: In function `__floatdisf':
/Users/cartman/cegcc/src/gcc-4.4.0/libgcc/../gcc/libgcc2.c:1463: multiple definition of `__floatdisf'
_arm_addsubsf3_s.o:/Users/cartman/cegcc/src/gcc-4.4.0/libgcc/../gcc/config/arm/ieee754-sf.S:342: first defined here
_floatdidf_s.o: In function `__floatdidf':
/Users/cartman/cegcc/src/gcc-4.4.0/libgcc/../gcc/libgcc2.c:1432: multiple definition of `__floatdidf'
_arm_addsubdf3_s.o:/Users/cartman/cegcc/src/gcc-4.4.0/libgcc/../gcc/config/arm/ieee754-df.S:522: first defined here
collect2: ld returned 1 exit status


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-08-09 08:37

Message:
You'll find that you and I made the same changes to t-wince-pe yesterday.
They're in SVN.

----------------------------------------------------------------------

Comment By: Matthew Kille (mattkille)
Date: 2009-08-08 21:37

Message:
Missing files alone didn't help. I had a look to see what was going on and
made the following changes. Seems to build and run correctly now.


Index: Z:/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-pe
===================================================================
--- Z:/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-pe (revision 1353)
+++ Z:/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-pe (working copy)
@@ -6,7 +6,6 @@
  _arm_fixdfsi _arm_fixunsdfsi \
  _arm_truncdfsf2 _arm_negsf2 _arm_addsubsf3 _arm_muldivsf3 _arm_cmpsf2
_arm_unordsf2 \
  _arm_fixsfsi _arm_fixunssfsi _arm_floatdidf _arm_floatdisf \
- _arm_fixunsdfsi \
  _clzsi2 _clzdi2
 
 #
@@ -21,7 +20,7 @@
  _negate_sf _unord_sf \
  _sf_to_df _si_to_sf _sf_to_si _usi_to_sf, $(FPBIT_FUNCS))
 
-LIB2FUNCS_EXCLUDE = _floatundisf _floatundidf
+LIB2FUNCS_EXCLUDE = _floatundisf _floatundidf _floatdisf _floatdidf
_fixunssfsi _fixunsdfsi
 
 #LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _call_via_rX
_interwork_call_via_rX \
 # _bb_init_func _lshrdi3 _ashrdi3 _ashldi3 \
@@ -29,7 +28,6 @@
 # _arm_fixdfsi _arm_fixunsdfsi \
 # _arm_truncdfsf2 _arm_negsf2 _arm_addsubsf3 _arm_muldivsf3 _arm_cmpsf2
_arm_unordsf2 \
 # _arm_fixsfsi _arm_fixunssfsi _arm_floatdidf _arm_floatdisf \
-# _arm_fixunsdfsi \
 # _clzsi2 _clzdi2
 
 # For most CPUs we have an assembly soft-float implementations.


----------------------------------------------------------------------

Comment By: Danny Backx (dannybackx)
Date: 2009-08-08 14:03

Message:
Looks like I had forgotten to commit config.gcc, to which a couple of
soft-fp entries were added.
That might be the cause of all this.

Can someone test ?

----------------------------------------------------------------------

Comment By: İsmail Dönmez (namtrac)
Date: 2009-08-07 21:44

Message:
Also reproduced on Ubuntu Jaunty:

gcc 4.3.3
binutils 2.19.1


----------------------------------------------------------------------

Comment By: Matthew Kille (mattkille)
Date: 2009-08-05 19:13

Message:
I get the same build error on Windows/Cygwin.

CYGWIN_NT-5.1 ultraviolet 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
GCC 3.4.4
GMP 4.3.1
MPFR 2.4.1

----------------------------------------------------------------------

Comment By: İsmail Dönmez (namtrac)
Date: 2009-08-01 21:16

Message:
4.4.0 works on Windows & Linux (with cegcc that is), any idea to fix this
on MacOSX would be great.

----------------------------------------------------------------------

Comment By: CeRiAl (cerial23)
Date: 2009-08-01 17:15

Message:
Oops, should've been looking into the logs.. Your're trying to compile
4.4.0, doesn't work here either.

----------------------------------------------------------------------

Comment By: CeRiAl (cerial23)
Date: 2009-08-01 17:14

Message:
Are you tring to compile mingw32ce-gcc 4.1.0 or 4.4.0? Because compiling
with "gcc_src=gcc" works perfectly here (Mac OS X 10.5.7 PowerPC Build
9J61), I've just compiled the current trunk here.

$ uname -a
Darwin DeFluX 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:54:29 PDT
2009; root:xnu-1228.12.14~1/RELEASE_PPC Power Macintosh

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=865514&aid=2830763&group_id=173455

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Loading...