Bugs item #542420, was opened at 2002-04-11 05:47
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=103152&aid=542420&group_id=3152

Category: Configuration: Server
Group: aolserver3_4
>Status: Open
Resolution: Fixed
Priority: 2
Submitted By: Dossy Shiobara (dossy)
Assigned to: Kriston Rehberg (kriston)
Summary: Won't build on SparcLinux

Initial Comment:
Matt Fuerst (fuerstma) raised the issue of AOLserver
3.x not building on SparcLinux in the forum message:

  http://sourceforge.net/forum/forum.php?
thread_id=659384&forum_id=9242

I suggested this temporary work-around:

  in include/Makefile.global, search for this string:

    ifneq (,$(findstring Linux,$(PLAT)))

  About 4 lines down, you'll see:

    CFLAGS+=$(GCCOPT) -mcpu=$(shell uname -m)

  Change that line to read:

    CFLAGS+=$(GCCOPT)

Clearly not the solution, but it'll get Matt building.

-- Dossy


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

>Comment By: Kriston Rehberg (kriston)
Date: 2002-04-16 23:07

Message:
Logged In: YES
user_id=16427

Taking a look at Sparclinux, it responds to "uname -m" with
a bogus name of "sparc64".  No such architecture exists
anywhere in gcc's docs.  Use "sparcv9", "sparcv8", "sun4u",
or whatever your system says to "uname -m" when it runs
Solaris.  Nearly all modern SPARC machines will say "sun4u".
 If you feel like it, visit www.sparc.org and/or the gcc
docs at gcc.gnu.org and try some of the sparc variants
there.  Someone needs to get on the horn to Linux, FreeBSD,
NetBSD, and friends or maybe we should stop using "uname -m"
for its intended purpose.




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

Comment By: Kriston Rehberg (kriston)
Date: 2002-04-16 22:57

Message:
Logged In: YES
user_id=16427

As long as it's gcc doing the buildlingtry changing the
-mcpu directive to "-mcpu=sparcv9" or "sun4u" or suchlike
until Sparclinux answers uname correctly.  Doing this makes
it, like, go faster and stuff esp. if you're using optimization.



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

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=103152&aid=542420&group_id=3152

Reply via email to