Re: Final make install on 5.8.0 RC3

2002-07-22 Thread emoy

On Sunday, July 21, 2002, at 05:18  PM, Geoffrey F. Green wrote:

 On 7/21/02 8:07 PM, David Wheeler [EMAIL PROTECTED] wrote:

 This is known and it is sadly because Apples libc does not contain a
 threadsafe localtime, the bug is entereted with apple but no reply 
 yet!

 So what are the chances that this will be fixed by a future 10.1 
 update or
 in Jaguar, Edward?

 I'm not Edward, and I probably know about 1/100th as much as he does 
 on this
 topic, but in case he doesn't respond:

 http://www.apple.com/macosx/jaguar/unix.html states that much of 
 FreeBSD
 4.4 has been backported to Darwin, so perhaps that includes a 
 threadsafe
 localtime?  In addition, the page notes that Reentrant variants of 
 standard
 functions in the C library, such as ‘strtok_r,’ help you port 
 thread-safe
 versions of UNIX applications.  Can't say if that's meaningful to this
 discussion or not, but I thought I'd mention it because it sounds 
 relevant.

I think you are giving me too much credit, as I wasn't even aware of 
the thread-safe localtime bug (if you know the Radar number, I'd like 
to look it up).  I'm not on the team that is in charge of Perl; I'm 
just an interested Perl user at Apple.

If the thread-safe localtime bug is an important issue to you, I 
recommend you add your comments to the above mentioned Radar.  The more 
visible this issue becomes, the higher priority it well get.

Ed



Re: Final make install on 5.8.0 RC3

2002-07-22 Thread Edward Moy

On Monday, July 22, 2002, at 11:19  AM, David Wheeler wrote:

 On 7/22/02 7:47 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] claimed:

 I think you are giving me too much credit, as I wasn't even aware of
 the thread-safe localtime bug (if you know the Radar number, I'd like
 to look it up).  I'm not on the team that is in charge of Perl; I'm
 just an interested Perl user at Apple.

 Bummer. This seems like it'd be a good place for such a team hang out, 
 so I
 guess I just kind of assumed it was you. Oh, well.

 Here's more information from Artur, for those who want to check the 
 bug:

 I reported the bug to apple and it has radar bug 2850918, however 
 seems
 like radar is down so I can't check it.

2850918 has be closed, as Jaguar contains a suite of thread-safe time 
routines, including localtime_r().  Does 5.8.0 know to use the _r 
versions?

 If the thread-safe localtime bug is an important issue to you, I
 recommend you add your comments to the above mentioned Radar.  The 
 more
 visible this issue becomes, the higher priority it well get.

 Okay. There are a few bugs like this (the dbm library issue, a lack of
 strptime, a couple of broken options in strftime), so maybe I'll add 
 some
 comments to the relevant radar numbers over the next few days.

Yes, please do.  The Berkeley DB issue is still unresolved, though 
others may be already fixed in Jaguar.

Edward Moy
Apple




Re: Final make install on 5.8.0 RC3

2002-07-22 Thread Phil Dobbin

On 22/7/02 at 12:50, [EMAIL PROTECTED] (Edward Moy) wrote:

 On Monday, July 22, 2002, at 11:19  AM, David Wheeler wrote:
 
  On 7/22/02 7:47 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] claimed:
 
  I think you are giving me too much credit, as I wasn't even aware 
 of
  the thread-safe localtime bug (if you know the Radar number, I'd 
 like
  to look it up).  I'm not on the team that is in charge of Perl; I'm
  just an interested Perl user at Apple.
 
  Bummer. This seems like it'd be a good place for such a team hang 
 out, 
  so I
  guess I just kind of assumed it was you. Oh, well.
 
  Here's more information from Artur, for those who want to check the 
  bug:
 
  I reported the bug to apple and it has radar bug 2850918, however 
  seems
  like radar is down so I can't check it.
 
 2850918 has be closed, as Jaguar contains a suite of thread-safe time 
 routines, including localtime_r().  Does 5.8.0 know to use the _r 
 versions?
 
  If the thread-safe localtime bug is an important issue to you, I
  recommend you add your comments to the above mentioned Radar.  The 
  more
  visible this issue becomes, the higher priority it well get.
 
  Okay. There are a few bugs like this (the dbm library issue, a lack 
 of
  strptime, a couple of broken options in strftime), so maybe I'll add 
  some
  comments to the relevant radar numbers over the next few days.
 
 Yes, please do.  The Berkeley DB issue is still unresolved, though 
 others may be already fixed in Jaguar.

On the subject of Jaguar, I can't seem to find any info on the version of Perl that 
will ship with it (or an estimation).

If it's not breaking any NDA's, can anybody say (or point me in the right direction)?

Regards,

Phil.



Re: Final make install on 5.8.0 RC3

2002-07-22 Thread Geoffrey F. Green

On 7/22/02 4:42 PM, phildobbin [EMAIL PROTECTED] wrote:

 On the subject of Jaguar, I can't seem to find any info on the version of Perl
 that will ship with it (or an estimation).
 
 If it's not breaking any NDA's, can anybody say (or point me in the right
 direction)?

If you'd asked a few days ago, I could have done a quick perl -V on one of
the dozens of machines at MW-NY.  Ah well.

In any event, Finlay Doobie noted a few days ago that:

 There were plans [to update Perl], but last time I checked Apple's perl module
had been 
 severely screwed up by someone who no longer works at the company, and
 nobody had been bothered to step in and fix it.

See http:[EMAIL PROTECTED]/msg02468.html.

Of course, they may have been updating Perl inside the company without
telling anyone.  So we may have 5.6.1.  Regardless, I can't imagine they
would stick 5.8.0 on there at such a late date.

 - geoff




Re: Final make install on 5.8.0 RC3

2002-07-22 Thread Phil Dobbin

On 22/7/02 at 16:58, [EMAIL PROTECTED] (Geoffrey F. Green) wrote:

 On 7/22/02 4:42 PM, phildobbin [EMAIL PROTECTED] wrote:
 
  On the subject of Jaguar, I can't seem to find any info on the 
 version of Perl
  that will ship with it (or an estimation).
  
  If it's not breaking any NDA's, can anybody say (or point me in the 
  right
  direction)?
 
 If you'd asked a few days ago, I could have done a quick perl -V on 
 one of
 the dozens of machines at MW-NY.  Ah well.
 
 In any event, Finlay Doobie noted a few days ago that:
 
  There were plans [to update Perl], but last time I checked Apple's 
  perl module
  had been 
  severely screwed up by someone who no longer works at the company, 
  and
  nobody had been bothered to step in and fix it.
 
 See http:[EMAIL PROTECTED]/msg02468.html.
 
 Of course, they may have been updating Perl inside the company without
 telling anyone.  So we may have 5.6.1.  Regardless, I can't imagine 
 they
 would stick 5.8.0 on there at such a late date.

Ah, must've missed Finlay's post. Thanks for the info.

Regards,

Phil.



Re: Final make install on 5.8.0 RC3

2002-07-22 Thread phildobbin

On 22/7/02 at 12:50, [EMAIL PROTECTED] (Edward Moy) wrote:

 On Monday, July 22, 2002, at 11:19  AM, David Wheeler wrote:
 
  On 7/22/02 7:47 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] claimed:
 
  I think you are giving me too much credit, as I wasn't even aware 
 of
  the thread-safe localtime bug (if you know the Radar number, I'd 
 like
  to look it up).  I'm not on the team that is in charge of Perl; I'm
  just an interested Perl user at Apple.
 
  Bummer. This seems like it'd be a good place for such a team hang 
 out, 
  so I
  guess I just kind of assumed it was you. Oh, well.
 
  Here's more information from Artur, for those who want to check the 
  bug:
 
  I reported the bug to apple and it has radar bug 2850918, however 
  seems
  like radar is down so I can't check it.
 
 2850918 has be closed, as Jaguar contains a suite of thread-safe time 
 routines, including localtime_r().  Does 5.8.0 know to use the _r 
 versions?
 
  If the thread-safe localtime bug is an important issue to you, I
  recommend you add your comments to the above mentioned Radar.  The 
  more
  visible this issue becomes, the higher priority it well get.
 
  Okay. There are a few bugs like this (the dbm library issue, a lack 
 of
  strptime, a couple of broken options in strftime), so maybe I'll add 
  some
  comments to the relevant radar numbers over the next few days.
 
 Yes, please do.  The Berkeley DB issue is still unresolved, though 
 others may be already fixed in Jaguar.

On the subject of Jaguar, I can't seem to find any info on the version of Perl that 
will ship with it (or an estimation).

If it's not breaking any NDA's, can anybody say (or point me in the right direction)?

Regards,

Phil.



Re: Final make install on 5.8.0 RC3

2002-07-21 Thread David Wheeler

On 7/20/02 2:07 PM, David Wheeler [EMAIL PROTECTED] claimed:

 A failure for the libc test, which I didn't expect:
 
 ext/threads/t/libc...FAILED at test 1
 
 It turns out that this is executed when you compile perl with -Dusethreads.
 I'm not sure why they're not working, but I sent some diagnostics to Artur to
 look at.

I heard back from Arthur. The word is this:

This is known and it is sadly because Apples libc does not contain a
threadsafe localtime, the bug is entereted with apple but no reply yet!

So what are the chances that this will be fixed by a future 10.1 update or
in Jaguar, Edward?

Thanks,

David

-- 
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
http://david.wheeler.net/  Yahoo!: dew7e
   Jabber: [EMAIL PROTECTED]





Re: Final make install on 5.8.0 RC3

2002-07-21 Thread Geoffrey F. Green

On 7/21/02 8:07 PM, David Wheeler [EMAIL PROTECTED] wrote:

 This is known and it is sadly because Apples libc does not contain a
 threadsafe localtime, the bug is entereted with apple but no reply yet!
 
 So what are the chances that this will be fixed by a future 10.1 update or
 in Jaguar, Edward?

I'm not Edward, and I probably know about 1/100th as much as he does on this
topic, but in case he doesn't respond:

http://www.apple.com/macosx/jaguar/unix.html states that much of FreeBSD
4.4 has been backported to Darwin, so perhaps that includes a threadsafe
localtime?  In addition, the page notes that Reentrant variants of standard
functions in the C library, such as Œstrtok_r,¹ help you port thread-safe
versions of UNIX applications.  Can't say if that's meaningful to this
discussion or not, but I thought I'd mention it because it sounds relevant.

 - geoff




Final make install on 5.8.0 RC3

2002-07-18 Thread Phil Dobbin

Am running the final tests on 5.8.0 RC3. Have encountered problems with dyld: 
Undefined symbols and with Jarkko's help I'm trying to fix/track it down.

If anybody else has any input on this, much appreciated :-)

Regards,

Phil.



Re: Final make install on 5.8.0 RC3

2002-07-18 Thread Edward Moy

On Thursday, July 18, 2002, at 08:39  AM, Phil Dobbin wrote:

 Am running the final tests on 5.8.0 RC3. Have encountered problems 
 with dyld: Undefined symbols and with Jarkko's help I'm trying to 
 fix/track it down.

 If anybody else has any input on this, much appreciated :-)

I just compiled perl@17623 on 10.1.5 (April 2002 Dev Tools) and Jaguar. 
  Both compiled fine (though on Jaguar I removed the 
-I/usr/local/include option from the cc flags to avoid unnecessary 
compiler warning; I had compiled perl@17551 on Jaguar without removing 
the option, and it worked fine even with the excess warning messages).

Both only failed two test, the usual Berkeley DB tests.

What are you seeing?

Edward Moy
Apple




Re: Final make install on 5.8.0 RC3

2002-07-18 Thread Phil Dobbin

On 18/7/02 at 15:43, [EMAIL PROTECTED] (Edward Moy) wrote:

 On Thursday, July 18, 2002, at 08:39  AM, Phil Dobbin wrote:
 
  Am running the final tests on 5.8.0 RC3. Have encountered problems 
  with dyld: Undefined symbols and with Jarkko's help I'm trying to 
  fix/track it down.
 
  If anybody else has any input on this, much appreciated :-)
 
 I just compiled perl@17623 on 10.1.5 (April 2002 Dev Tools) and 
 Jaguar. 
   Both compiled fine (though on Jaguar I removed the 
 -I/usr/local/include option from the cc flags to avoid unnecessary 
 compiler warning; I had compiled perl@17551 on Jaguar without removing 
 the option, and it worked fine even with the excess warning messages).
 
 Both only failed two test, the usual Berkeley DB tests.
 
 What are you seeing?

It compiled fine on 10.1.5 (only failing the same two db tests you saw) but it 
complains of `undefined symbols' when trying to use it (e.g. `perl -MCPAN -e shell' 
and compiling `perl Makefile.PL').

I get:

dyld: perl Undefined symbols:

 _Perl_sv_2pv
 _perl_get_sv
 
 Apparently, make install in Mac OS X doesn't always overwrite the Perl Shared 
library, which means that the old binarily incompatible version survives and 
that...refers to the Obsolete symbols [1]

Have tried `rm /Library/Perl/darwin/CORE/libperl.dylib' and re-issued make install but 
to no avail.

Regards,

Phil.

[1] from email from Jarkko Hietaniemi on perl5 porters 17/07/02