You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 2009/08/31 19:44:45 UTC
Snow Leopard hints
If compiling, at least for now, make sure you use CC='gcc -arch i386'
(or use gcc-4.0)... APR won't build under both archs and the default
for gcc-4.2 is to build for x86_64, which makes APR barf.
Re: Snow Leopard hints
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Paul Querna wrote:
> On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com> wrote:
>> If compiling, at least for now, make sure you use CC='gcc -arch i386'
>> (or use gcc-4.0)... APR won't build under both archs and the default
>> for gcc-4.2 is to build for x86_64, which makes APR barf.
>>
>
> did anyone ask friends at apple for their patchset for apr/httpd?
Fred's pointed us to it more than once, but Apple has never submitted it
to the project under a CLA, so it's languished. If anyone has the contacts
and time to help guide them in submitting patches, that would be terrific!
It looks like http://apr.apache.org/patches.html could use a refresh, there
is no mention of submitting to bugzilla, tracking PatchAvailable keyword,
or especially CLAs :)
Re: Snow Leopard hints
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Paul Querna wrote:
> On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com> wrote:
>> If compiling, at least for now, make sure you use CC='gcc -arch i386'
>> (or use gcc-4.0)... APR won't build under both archs and the default
>> for gcc-4.2 is to build for x86_64, which makes APR barf.
>>
>
> did anyone ask friends at apple for their patchset for apr/httpd?
Fred's pointed us to it more than once, but Apple has never submitted it
to the project under a CLA, so it's languished. If anyone has the contacts
and time to help guide them in submitting patches, that would be terrific!
It looks like http://apr.apache.org/patches.html could use a refresh, there
is no mention of submitting to bugzilla, tracking PatchAvailable keyword,
or especially CLAs :)
Re: Snow Leopard hints
Posted by Jim Jagielski <ji...@jagunet.com>.
On Aug 31, 2009, at 3:07 PM, Paul Querna wrote:
> On Mon, Aug 31, 2009 at 10:53 AM, Jim Jagielski<ji...@jagunet.com>
> wrote:
>>
>> On Aug 31, 2009, at 1:48 PM, Paul Querna wrote:
>>
>>> On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com>
>>> wrote:
>>>>
>>>> If compiling, at least for now, make sure you use CC='gcc -arch
>>>> i386'
>>>> (or use gcc-4.0)... APR won't build under both archs and the
>>>> default
>>>> for gcc-4.2 is to build for x86_64, which makes APR barf.
>>>>
>>>
>>> did anyone ask friends at apple for their patchset for apr/httpd?
>>>
>>
>> Not yet...
>>
>> The 64bit errors seem (VERY prelim look, btw) related to warnings
>> about apr_off_t looking like ld, eg:
>>
>> mod_proxy_http.c: In function 'stream_reqbody_cl':
>> mod_proxy_http.c:466: warning: format '%ld' expects type 'long
>> int', but
>> argument 7 has type 'apr_off_t'
>> mod_proxy_http.c:466: warning: format '%ld' expects type 'long
>> int', but
>> argument 8 has type 'apr_off_t'
>
> yeah, they should all be easy fixes, most likely a few new lines in
> build/apr_hints.m4 is all that is needed.
>
> We should also be able to enable KQueue on 10.6, word from apple
> people was that its fixed again :)
>
> I'll most likely be instlaling it tonight and give it a try.
>
Yeah... it's looking like long and off_t are all 8, but in
./i386/_types.h we get:
./i386/_types.h:typedef long long __int64_t
and, of course, off_t is typedef'ed to that.
So with x86_64, long long is long, but this is confusing apr...
That's all the time I have right now to look any deeper...
Re: Snow Leopard hints
Posted by Jim Jagielski <ji...@jagunet.com>.
On Aug 31, 2009, at 3:07 PM, Paul Querna wrote:
> On Mon, Aug 31, 2009 at 10:53 AM, Jim Jagielski<ji...@jagunet.com>
> wrote:
>>
>> On Aug 31, 2009, at 1:48 PM, Paul Querna wrote:
>>
>>> On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com>
>>> wrote:
>>>>
>>>> If compiling, at least for now, make sure you use CC='gcc -arch
>>>> i386'
>>>> (or use gcc-4.0)... APR won't build under both archs and the
>>>> default
>>>> for gcc-4.2 is to build for x86_64, which makes APR barf.
>>>>
>>>
>>> did anyone ask friends at apple for their patchset for apr/httpd?
>>>
>>
>> Not yet...
>>
>> The 64bit errors seem (VERY prelim look, btw) related to warnings
>> about apr_off_t looking like ld, eg:
>>
>> mod_proxy_http.c: In function 'stream_reqbody_cl':
>> mod_proxy_http.c:466: warning: format '%ld' expects type 'long
>> int', but
>> argument 7 has type 'apr_off_t'
>> mod_proxy_http.c:466: warning: format '%ld' expects type 'long
>> int', but
>> argument 8 has type 'apr_off_t'
>
> yeah, they should all be easy fixes, most likely a few new lines in
> build/apr_hints.m4 is all that is needed.
>
> We should also be able to enable KQueue on 10.6, word from apple
> people was that its fixed again :)
>
> I'll most likely be instlaling it tonight and give it a try.
>
Yeah... it's looking like long and off_t are all 8, but in
./i386/_types.h we get:
./i386/_types.h:typedef long long __int64_t
and, of course, off_t is typedef'ed to that.
So with x86_64, long long is long, but this is confusing apr...
That's all the time I have right now to look any deeper...
Re: Snow Leopard hints
Posted by Paul Querna <pa...@querna.org>.
On Mon, Aug 31, 2009 at 10:53 AM, Jim Jagielski<ji...@jagunet.com> wrote:
>
> On Aug 31, 2009, at 1:48 PM, Paul Querna wrote:
>
>> On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com> wrote:
>>>
>>> If compiling, at least for now, make sure you use CC='gcc -arch i386'
>>> (or use gcc-4.0)... APR won't build under both archs and the default
>>> for gcc-4.2 is to build for x86_64, which makes APR barf.
>>>
>>
>> did anyone ask friends at apple for their patchset for apr/httpd?
>>
>
> Not yet...
>
> The 64bit errors seem (VERY prelim look, btw) related to warnings
> about apr_off_t looking like ld, eg:
>
> mod_proxy_http.c: In function 'stream_reqbody_cl':
> mod_proxy_http.c:466: warning: format '%ld' expects type 'long int', but
> argument 7 has type 'apr_off_t'
> mod_proxy_http.c:466: warning: format '%ld' expects type 'long int', but
> argument 8 has type 'apr_off_t'
yeah, they should all be easy fixes, most likely a few new lines in
build/apr_hints.m4 is all that is needed.
We should also be able to enable KQueue on 10.6, word from apple
people was that its fixed again :)
I'll most likely be instlaling it tonight and give it a try.
Paul
Re: Snow Leopard hints
Posted by Paul Querna <pa...@querna.org>.
On Mon, Aug 31, 2009 at 10:53 AM, Jim Jagielski<ji...@jagunet.com> wrote:
>
> On Aug 31, 2009, at 1:48 PM, Paul Querna wrote:
>
>> On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com> wrote:
>>>
>>> If compiling, at least for now, make sure you use CC='gcc -arch i386'
>>> (or use gcc-4.0)... APR won't build under both archs and the default
>>> for gcc-4.2 is to build for x86_64, which makes APR barf.
>>>
>>
>> did anyone ask friends at apple for their patchset for apr/httpd?
>>
>
> Not yet...
>
> The 64bit errors seem (VERY prelim look, btw) related to warnings
> about apr_off_t looking like ld, eg:
>
> mod_proxy_http.c: In function 'stream_reqbody_cl':
> mod_proxy_http.c:466: warning: format '%ld' expects type 'long int', but
> argument 7 has type 'apr_off_t'
> mod_proxy_http.c:466: warning: format '%ld' expects type 'long int', but
> argument 8 has type 'apr_off_t'
yeah, they should all be easy fixes, most likely a few new lines in
build/apr_hints.m4 is all that is needed.
We should also be able to enable KQueue on 10.6, word from apple
people was that its fixed again :)
I'll most likely be instlaling it tonight and give it a try.
Paul
Re: Snow Leopard hints
Posted by Jim Jagielski <ji...@jagunet.com>.
On Aug 31, 2009, at 1:48 PM, Paul Querna wrote:
> On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com>
> wrote:
>> If compiling, at least for now, make sure you use CC='gcc -arch i386'
>> (or use gcc-4.0)... APR won't build under both archs and the default
>> for gcc-4.2 is to build for x86_64, which makes APR barf.
>>
>
> did anyone ask friends at apple for their patchset for apr/httpd?
>
Not yet...
The 64bit errors seem (VERY prelim look, btw) related to warnings
about apr_off_t looking like ld, eg:
mod_proxy_http.c: In function 'stream_reqbody_cl':
mod_proxy_http.c:466: warning: format '%ld' expects type 'long int',
but argument 7 has type 'apr_off_t'
mod_proxy_http.c:466: warning: format '%ld' expects type 'long int',
but argument 8 has type 'apr_off_t'
Re: Snow Leopard hints
Posted by Jim Jagielski <ji...@jagunet.com>.
On Aug 31, 2009, at 1:48 PM, Paul Querna wrote:
> On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com>
> wrote:
>> If compiling, at least for now, make sure you use CC='gcc -arch i386'
>> (or use gcc-4.0)... APR won't build under both archs and the default
>> for gcc-4.2 is to build for x86_64, which makes APR barf.
>>
>
> did anyone ask friends at apple for their patchset for apr/httpd?
>
Not yet...
The 64bit errors seem (VERY prelim look, btw) related to warnings
about apr_off_t looking like ld, eg:
mod_proxy_http.c: In function 'stream_reqbody_cl':
mod_proxy_http.c:466: warning: format '%ld' expects type 'long int',
but argument 7 has type 'apr_off_t'
mod_proxy_http.c:466: warning: format '%ld' expects type 'long int',
but argument 8 has type 'apr_off_t'
Re: Snow Leopard hints
Posted by Paul Querna <pa...@querna.org>.
On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com> wrote:
> If compiling, at least for now, make sure you use CC='gcc -arch i386'
> (or use gcc-4.0)... APR won't build under both archs and the default
> for gcc-4.2 is to build for x86_64, which makes APR barf.
>
did anyone ask friends at apple for their patchset for apr/httpd?
Re: Snow Leopard hints
Posted by Paul Querna <pa...@querna.org>.
On Mon, Aug 31, 2009 at 10:44 AM, Jim Jagielski<ji...@jagunet.com> wrote:
> If compiling, at least for now, make sure you use CC='gcc -arch i386'
> (or use gcc-4.0)... APR won't build under both archs and the default
> for gcc-4.2 is to build for x86_64, which makes APR barf.
>
did anyone ask friends at apple for their patchset for apr/httpd?