[#1711] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...>

Tanaka Akira:

22 messages 2003/11/19
[#1737] Re: open-uri patch, added progress_proc hook — Mathieu Bouchard <matju@...> 2003/11/23

[#1739] Re: open-uri patch, added progress_proc hook — Mathieu Bouchard <matju@...> 2003/11/23

[#1740] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...> 2003/11/23

On Sunday 23 November 2003 08:26 pm, Mathieu Bouchard wrote:

[#1741] Re: open-uri patch, added progress_proc hook — Mathieu Bouchard <matju@...> 2003/11/23

[#1718] Re: open-uri patch, added progress_proc hook — Elliott Hughes <ehughes@...>

22 messages 2003/11/21
[#1722] Re: open-uri patch, added progress_proc hook — Tanaka Akira <akr@...17n.org> 2003/11/22

In article <AD4480A509455343AEFACCC231BA850F17C434@ukexchange>,

[#1724] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...> 2003/11/22

On Saturday 22 November 2003 04:34 pm, Tanaka Akira wrote:

[#1726] Re: open-uri patch, added progress_proc hook — Tanaka Akira <akr@...17n.org> 2003/11/23

In article <200311221024.05642.transami@runbox.com>,

[#1731] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...> 2003/11/23

On Sunday 23 November 2003 02:24 am, Tanaka Akira wrote:

[#1732] Re: open-uri patch, added progress_proc hook — Tanaka Akira <akr@...17n.org> 2003/11/23

In article <200311230325.21687.transami@runbox.com>,

[#1733] Re: open-uri patch, added progress_proc hook — "T. Onoma" <transami@...> 2003/11/23

On Sunday 23 November 2003 03:10 pm, Tanaka Akira wrote:

[#1750] Re: open-uri patch, added progress_proc hook — Tanaka Akira <akr@...17n.org> 2003/11/24

In article <200311230648.41003.transami@runbox.com>,

[#1759] Re: open-uri patch, added progress_proc hook — Sean E Russell <ser@...> 2003/11/24

On Monday 24 November 2003 03:19, Tanaka Akira wrote:

[#1762] Re: open-uri patch, added progress_proc hook — "Nathaniel Talbott" <nathaniel@...> 2003/11/24

Sean E Russell [mailto:ser@germane-software.com] wrote:

[#1753] gc_sweep under 1.8 ... not syck.so — Richard Kilmer <rich@...>

We still encountered a gc_sweep in our use of Ruby 1.8 on Linux (v8).

16 messages 2003/11/24
[#1754] Re: gc_sweep under 1.8 ... not syck.so — ts <decoux@...> 2003/11/24

>>>>> "R" == Richard Kilmer <rich@infoether.com> writes:

[#1757] Re: gc_sweep under 1.8 ... not syck.so — Richard Kilmer <rich@...> 2003/11/24

Yes, there are several (Ruby) threads working during this gc_sweep.

[#1758] Re: gc_sweep under 1.8 ... not syck.so — ts <decoux@...> 2003/11/24

>>>>> "R" == Richard Kilmer <rich@infoether.com> writes:

[#1763] Re: gc_sweep under 1.8 ... not syck.so — Richard Kilmer <rich@...> 2003/11/24

of course this effects 300 machines ;-)

[#1755] Re: Controlled block variables — Jamis Buck <jgb3@...>

On Mon, 2003-11-24 at 02:04, T. Onoma wrote:

26 messages 2003/11/24
[#1756] Re: Controlled block variables — "T. Onoma" <transami@...> 2003/11/24

On Monday 24 November 2003 05:22 pm, Jamis Buck wrote:

[#1760] Re: Controlled block variables — Sean E Russell <ser@...> 2003/11/24

On Monday 24 November 2003 11:51, T. Onoma wrote:

[#1761] Re: Controlled block variables — "T. Onoma" <transami@...> 2003/11/24

On Monday 24 November 2003 06:40 pm, Sean E Russell wrote:

Re: configure.in: do not override CCDLDFLAGS, LDFLAGS, XLDFLAGS

From: Eric Sunshine <sunshine@...>
Date: 2003-11-30 10:12:31 UTC
List: ruby-core #1819
Hello,

On Sun, 30 Nov 2003 09:33:03 +0000, eban wrote:
> * configure.in: XCFLAGS for compiling ruby itself.  ARCH_FLAG is
> reflected in CFLAGS.

Unfortunately, this change breaks the Apple/NeXT builds when the  
--enable-fat-binary configure option is used.  The problem is that that  
ARCH_FLAGS is only valid when invoking the compiler (cc).  It is not valid  
when invoking the C-preprocessor (cpp or cc -E), and causes the pre-processor  
to abort prematurely.  For example:

% cc -E -arch i386 -arch m68k foo.c
cc: Cannot use -E, -M, -MM, or -S with multiple architectures

% /lib/cpp -E -arch i386 -arch m68k foo.c
/lib/cpp: more than one -arch option (not allowed)

This problem manifests when extconf.rb scripts invoke have_header(); in  
fact, it causes all tests which ultimately invoke mkmf.rb's cpp_command(),  
such as macro_defined?, egrep_cpp(), etc., to fail.  As a result, this change  
will prevent most extension modules from building when -enable-fat-binary is  
used.

There are at least two obvious solutions for this problem:

(1) Keep ARCH_FLAGS (or XCFLAGS) separate; do not merge it into CFLAGS.   
This allows mkmf's cpp_command() to use only CFLAGS, while cc_command() can  
use both CFLAGS and ARCH_FLAGS (or XCFLAGS).

(2) Augment cpp_command() to filter out values from ARCH_FLAGS.  This seems  
like a nasty, special-case hack.

When submitting the patch to revive the NeXT ports, I chose option #1 in  
order to solve this problem.  If option #1 is indeed not acceptable, then  
perhaps some other solution can be devised?

-- ES

In This Thread

Prev Next