[Linux-cluster] Fwd: gfs fixes for PPC32 platform...

Arkadiusz Miskiewicz arekm at pld-linux.org
Mon Jul 12 09:36:12 UTC 2004



----------  Forwarded Message  ----------

Subject: gfs fixes for PPC32 platform...
Date: Monday 12 of July 2004 11:30
From: Paweł Sikora <pluto at ds14.agh.edu.pl>
To: arekm at pld-linux.org

[ fs/gfs_locking/lock_gulm/utils_verb_flags.c ]:

The `strncasecmp' function confilcts with arch/ppc{,64}/lib/strcase.c
Please, rename it or link with proper arch/*/lib/built-in.o

[ fs/gfs/log.c ]:

The sequence `switch (head_wrap - dump_wrap)' uses __ucmpdi2 (for 64-bits
 ops) from libgcc_s.so and finally causing `unresolved symbol' in module.

fix:

__u64 tmp = head_wrap - dump_wrap;
if (tmp < 0x100000000LLU)
	switch ((__u32)tmp)
	{
	....
	}
else
	// default action.

--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

                           #define say(x) lie(x)

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



-- 
Arkadiusz Miśkiewicz     CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org, 1024/3DB19BBD, JID: arekm.jabber.org, PLD/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.6.7-ppc-strncasecmp.patch
Type: text/x-diff
Size: 1238 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20040712/2ba901a4/attachment.bin>


More information about the Linux-cluster mailing list