List Info

Thread: Building on rc9 on intel...




Building on rc9 on intel...
user name
2006-03-07 17:46:56
I have been trying to build 1.4.1rc9 on x86_darwin_80 using:
configure --with-afs-sysname=x86_darwin_80 
--with-krb5-conf=/usr/bin/krb5-config

I am getting crashes with klog and aklog using build
packages and 
installing from the packages.  I filed this a bug... I have
not built on 
ppc as the binary installer package is working.  Anyone else
having any 
luck or using a different configure setup?

-- 
Everette Gray Allen		Systems Programmer II
ITD Computing Services	Macintosh Support Specialist
2620 Hillsborough St, Campus Box 7109
Raleigh, NC 27695-7109  AIM: EveretteAlln
919-515-4558		Everette_Allenncsu.edu
_______________________________________________
port-darwin mailing list
port-darwinopenafs.org
https://lists.openafs.org/mailman/listinfo/port-darwin

Building on rc9 on intel...
user name
2006-03-07 18:16:30
On Mar 7, 2006, at 9:46 AM, Everette Allen wrote:

> I have been trying to build 1.4.1rc9 on x86_darwin_80
using:
> configure --with-afs-sysname=x86_darwin_80
--with-krb5-conf=/usr/ 
> bin/krb5-config
>
> I am getting crashes with klog and aklog using build
packages and  
> installing from the packages.  I filed this a bug... I
have not  
> built on ppc as the binary installer package is
working.  Anyone  
> else having any luck or using a different configure
setup?
>
> -- 
> Everette Gray Allen		Systems Programmer II
> ITD Computing Services	Macintosh Support Specialist
> 2620 Hillsborough St, Campus Box 7109
> Raleigh, NC 27695-7109  AIM: EveretteAlln
> 919-515-4558		Everette_Allenncsu.edu

It's probably the stack misalignment problem I recently
discovered.   
I'm getting the final clearances to post the patches
(including  
building 2-way universal), which I will be sending to
Derrick.

If you're interested, I can send you a copy of the patches
to try  
out, with the usual proviso that they are unofficial
patches.
------------------------------------------------------------
------------ 
--
Edward Moy
Apple Computer, Inc.
emoyapple.com

_______________________________________________
port-darwin mailing list
port-darwinopenafs.org
https://lists.openafs.org/mailman/listinfo/port-darwin

Building on rc9 on intel...
user name
2006-03-08 00:15:34
The following patch (based on comments relayed to me from Ed
by a third 
party, but I was closing in on the problem...) fixes the
crash that occurs 
in all LWP-using programs on 10.4.4 on X86.
Ed's patch is likely to be different, since his patchset
appears to include 
support for building universal binaries.

Index: src/lwp/lwp.c
============================================================
=======
RCS file: /cvs/openafs/src/lwp/lwp.c,v
retrieving revision 1.27.2.6
diff -u -r1.27.2.6 lwp.c
--- src/lwp/lwp.c       11 Jul 2005 18:59:55 -0000     
1.27.2.6
+++ src/lwp/lwp.c       8 Mar 2006 00:12:07 -0000
 -342,6
+342,13 
        stackptr -= stacksize;
        stackmemory = stackptr;
 #else
+#ifdef sys_x86_darwin_80
+       if ((stackmemory = (char *)malloc(stacksize + 16))
== NULL) {
+           Set_LWP_RC();
+           return LWP_ENOMEM;
+       }
+       stackptr = (char *)((16 * (((long)stackmemory + 15)
/ 16)) + 12);
+#else
        if ((stackmemory = (char *)malloc(stacksize + 7)) ==
NULL) {
            Set_LWP_RC();
            return LWP_ENOMEM;
 -349,6
+356,7 
        /* Round stack pointer to byte boundary */
        stackptr = (char *)(8 * (((long)stackmemory + 7) /
8));
 #endif
+#endif
        if (priority < 0 || priority >=
MAX_PRIORITIES) {
            Set_LWP_RC();
            return LWP_EBADPRI;

_______________________________________________
port-darwin mailing list
port-darwinopenafs.org
https://lists.openafs.org/mailman/listinfo/port-darwin

Building on rc9 on intel...
user name
2006-03-09 19:43:24
Right.  So I had already applied Ed's patch and am building
Universal 
now as well as it having fixed the lwp issue.  Am I doing
the wrong 
thing?  What is the plan for rc10 and beyond?  For my part I
have a 
quarter of a million dollars worth of i386 machines to
deploy Summer I 
(june 2006) and I would like have 1.4.1 Universal Binaries
as GoldMaster 
ASAP released approved by the openafs community. My
university has a 
hard policy of no production use of development versions of
any software 
and certainly not a client to our centralized file system.

Chaskiel M Grundman wrote:
> The following patch (based on comments relayed to me
from Ed by a third 
> party, but I was closing in on the problem...) fixes
the crash that 
> occurs in all LWP-using programs on 10.4.4 on X86.
> Ed's patch is likely to be different, since his
patchset appears to 
> include support for building universal binaries.
> 
> snip

-- 
Everette Gray Allen		Systems Programmer II
ITD Computing Services	Macintosh Support Specialist
2620 Hillsborough St, Campus Box 7109
Raleigh, NC 27695-7109  AIM: EveretteAlln
919-515-4558		Everette_Allenncsu.edu
_______________________________________________
port-darwin mailing list
port-darwinopenafs.org
https://lists.openafs.org/mailman/listinfo/port-darwin

Building on rc9 on intel...
user name
2006-03-09 21:08:00
I have already sent my patch to Derrick, who said he would
be trying  
it out.  So I'm hopeful that it will appear in rc10 or so.

Edward Moy
Apple

On Mar 9, 2006, at 11:43 AM, Everette Allen wrote:

> Right.  So I had already applied Ed's patch and am
building  
> Universal now as well as it having fixed the lwp issue.
 Am I doing  
> the wrong thing?  What is the plan for rc10 and beyond?
 For my  
> part I have a quarter of a million dollars worth of
i386 machines  
> to deploy Summer I (june 2006) and I would like have
1.4.1  
> Universal Binaries as GoldMaster ASAP released approved
by the  
> openafs community. My university has a hard policy of
no production  
> use of development versions of any software and
certainly not a  
> client to our centralized file system.
>
> Chaskiel M Grundman wrote:
>> The following patch (based on comments relayed to
me from Ed by a  
>> third party, but I was closing in on the
problem...) fixes the  
>> crash that occurs in all LWP-using programs on
10.4.4 on X86.
>> Ed's patch is likely to be different, since his
patchset appears  
>> to include support for building universal binaries.
>> snip
>
> -- 
> Everette Gray Allen		Systems Programmer II
> ITD Computing Services	Macintosh Support Specialist
> 2620 Hillsborough St, Campus Box 7109
> Raleigh, NC 27695-7109  AIM: EveretteAlln
> 919-515-4558		Everette_Allenncsu.edu
> _______________________________________________
> port-darwin mailing list
> port-darwinopenafs.org
> https://lists.openafs.org/mailman/listinfo/port-darwin

_______________________________________________
port-darwin mailing list
port-darwinopenafs.org
https://lists.openafs.org/mailman/listinfo/port-darwin

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )