[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] faq to help xlc users compile

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2004-01-25 19:08:19 CET

On Jan 23, 2004, at 11:40 AM, kfogel@collab.net wrote:

> Travis P <svn@castle.fastmail.fm> writes:
>> I originally reported it and I think that that is fine, but I do think
>> that
>> documentation mentioning that the "-qlanglvl=extended" flag is
>> recommended for xlc compilation might be a nice touch.
>
> Hmm, can you make a new FAQ item for this, by producing a patch
> against www/project_faq.html in the Subversion tree? That would be a
> big help.
>

Sure. It's below. I waited to double-check that the advice works on a
nice clean 0.37. It does.
I don't mention that I only built the client as the advice should also
apply to anyone trying to build the server as well.

Just FYI: xlc compilers are also now available for MacOS X so assuming
xlc and AIX go hand-in-hand may be erroneous.
( Ref:
http://www-306.ibm.com/common/ssi/fcgi-bin/ssialias?
infotype=an&subtype=ca&supplier=897&appname=IBMLinkRedirect&letternum=EN
US204-005 )
While I wouldn't expect to find its use particularly prevalent, in
high-performance scientific applications such as the Virginia Tech G5
Supercomputing Cluster, it has already reportedly been used.

There's a lot of other experience that perhaps should be documented
somewhere--especially since the list archives searchability appears
sketchy. Search for xlc or aix and you will not find any of my recent
posts to the dev or users lists and the various ensuing conversations
-- I didn't anyway. I also do not see a way to order search results by
date, which will likely be more and more a problem as time progresses
and suggestions about alpha-level Subversion may precede more relevant
discussions about newer versions of Subversion.

-Travis Pouarz
____________________________________

Add FAQ item about compiling with xlc.

* www/project_faq.html
   (xlc-compile): New item.

Index: project_faq.html
===================================================================
--- project_faq.html (revision 8515)
+++ project_faq.html (working copy)
@@ -111,6 +111,8 @@
      file, but svn says something about "path not found". What's going
      on?</a></li>
  <li>Why doesn't HTTP Digest auth work?</li>
+<li><a href="#xlc-compile">Compiling with xlc on AIX, I get compilation
+ errors. What's wrong?</a></li>

@@ -1448,6 +1450,18 @@
  to see if the description there matches your symptoms.
  </p>

+<![CDATA[-----------------------------------------------------------]]>
+
+<h3><a name="xlc-compile">Compiling with xlc on AIX, I get compilation
+ errors. What's wrong?</a></h3>
+
+<p>By default, xlc compiles to a strict standard which is in minor
+conflict with Subversion code in just a couple places. Adding
+<tt>-qlanglvl=extended</tt> to the environment variable CFLAGS
+for configuration and build will make xlc a bit more flexible
+and the code will compile without error.
+</p>
+
  <![CDATA[=========================================================]]>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 25 19:08:14 2004

This is an archived mail posted to the Subversion Dev mailing list.