[Devel] [ openser-Bugs-1540301 ] Invalid gcc option - build fails on Solairs 2.8/gcc v4.0.2

SourceForge.net noreply at sourceforge.net
Fri Mar 16 14:00:14 CET 2007


Bugs item #1540301, was opened at 2006-08-15 00:08
Message generated for change (Comment added) made by henningw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1540301&group_id=139143

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: core
Group: ver 1.1.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bob Atkins (bobatkins)
Assigned to: Daniel-Constantin Mierla (miconda)
Summary: Invalid gcc option - build fails on Solairs 2.8/gcc v4.0.2

Initial Comment:
Using gcc v4.0.2, the compile fails on a bad option

-minline-all-stringops is not a valid option for gcc
v4.0.2 on the sparc platform. Removing this option from
the Makefile allows openser to compile and link
successfully.



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

Comment By: Henning Westerholt (henningw)
Date: 2007-03-16 13:00

Message:
Logged In: YES 
user_id=337916
Originator: NO

According to the gcc docs, the mentioned function is still not
supported from sparc gcc. The small attached patch removes
this option from the sparc gcc 4.x Makefile case. Untested, because
i have no access to the hardware.

Index: Makefile.defs
===================================================================
--- Makefile.defs       (Revision 1857)
+++ Makefile.defs       (Arbeitskopie)
@@ -652,7 +652,7 @@
 ifeq                   ($(CC_CLASS), 4.x)
                                        CPU_TYPE ?= ultrasparc
                                        #use 32bit for now
-                                       CFLAGS+=-mcpu=ultrasparc
-minline-all-stringops \
+                                       CFLAGS+=-mcpu=ultrasparc \
                                                        -mtune=$(CPU_TYPE)
\
                                                        -ftree-vectorize
 else


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

Comment By: Samwise (samwiseuk)
Date: 2006-08-16 12:11

Message:
Logged In: YES 
user_id=1068470

>From openser.org Install page:

"Requirements:

- gcc or icc : gcc >= 2.9x; 3.[12] recommended (it will work
with older version but it might require some options
tweaking for best performance)"

This is not a problem for me running Solaris 9 and gcc 3.3.2
installed from the Solaris Software Companion CD.

Sam.

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

Comment By: Daniel-Constantin Mierla (miconda)
Date: 2006-08-15 08:46

Message:
Logged In: YES 
user_id=1246013

Could you provide a patch?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1540301&group_id=139143



More information about the Devel mailing list