Compile error in 0.10 gearmand

13 views
Skip to first unread message

Jay Janssen

unread,
Oct 20, 2009, 12:45:07 PM10/20/09
to gea...@googlegroups.com
gmake[3]: Entering directory `/homes/jayj/svn/yahoo/tools/gearman/gearmand/gearmand-0.10/tests'
  CXX    cpp_test.o
cc1plus: error: unrecognized command line option "-Wno-attributes"
gmake[3]: *** [cpp_test.o] Error 1

Any ideas what this is caused by?   Everything else compiles fine.  This is on RHEL 4.  



jay
janssen 
bcp architect
 
ja...@yahoo-inc.com
direct 585-593-3219    mobile 585-593-3219
 

Eric Day

unread,
Oct 20, 2009, 1:10:00 PM10/20/09
to gea...@googlegroups.com
Hi Jay,

What version of g++ are you using? The quick answer is to just hack
the Makefile and remove that flag, but we'll need to detect for that
version/flag and not add it in the future.

Thanks!
-Eric

Jay Janssen

unread,
Oct 20, 2009, 1:35:32 PM10/20/09
to gea...@googlegroups.com
Probably an ancient one:

$ g++ -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)

Thanks for the help!

Monty Taylor

unread,
Oct 20, 2009, 1:49:38 PM10/20/09
to gea...@googlegroups.com
Hrm. We haven't done any work on supporting gcc pre-v4. We probably need
to get our hands on a rhel4 build machine if we're going to properly
support that.

>>> ja...@yahoo-inc.com <mailto:ja...@yahoo-inc.com>
>>> direct 585-593-3219 mobile 585-593-3219
>>>
>>
>>
>
> **jay*
> *janssen*
> bcp architect
>
> ja...@yahoo-inc.com <mailto:ja...@yahoo-inc.com>
> direct 585-593-3219 mobile 585-593-3219
>
> *
>

Monty Taylor

unread,
Oct 20, 2009, 1:53:47 PM10/20/09
to gea...@googlegroups.com
I've got a Dapper box that I can install 3.4 on ... I'll take a quick look.

>>> ja...@yahoo-inc.com <mailto:ja...@yahoo-inc.com>
>>> direct 585-593-3219 mobile 585-593-3219
>>>
>>
>>
>
> **jay*
> *janssen*
> bcp architect
>
> ja...@yahoo-inc.com <mailto:ja...@yahoo-inc.com>
> direct 585-593-3219 mobile 585-593-3219
>
> *
>

Jay Janssen

unread,
Oct 20, 2009, 2:01:56 PM10/20/09
to gea...@googlegroups.com
FWIW, I had compiled up to 0.8 successfully on RHEL 4.  (didn't try 0.9)  

Sorry to be a bother.  
direct 585-593-3219    mobile 585-593-3219
 

Monty Taylor

unread,
Oct 20, 2009, 2:17:56 PM10/20/09
to gea...@googlegroups.com
Jay Janssen wrote:
> FWIW, I had compiled up to 0.8 successfully on RHEL 4. (didn't try 0.9)
>
> Sorry to be a bother.

Not at all... it's good to know. We don't support GCC3 in Drizzle
because the C++ support is _way_ too old - but it doesn't seem that
anything is problematic here except for this particular warning check.

I've got a fix building on my dapper box.

Monty

Jay Janssen

unread,
Oct 20, 2009, 2:30:40 PM10/20/09
to gea...@googlegroups.com

On Oct 20, 2009, at 2:17 PM, Monty Taylor wrote:

Not at all... it's good to know. We don't support GCC3 in Drizzle
because the C++ support is _way_ too old - but it doesn't seem that
anything is problematic here except for this particular warning check.

Good to know for when we start using Drizzle...  

jay
janssen 
bcp architect
 
ja...@yahoo-inc.com
direct 585-593-3219    mobile 585-593-3219
 

Monty Taylor

unread,
Oct 20, 2009, 2:42:59 PM10/20/09
to gea...@googlegroups.com
Jay Janssen wrote:
>
> On Oct 20, 2009, at 2:17 PM, Monty Taylor wrote:
>>
>> Not at all... it's good to know. We don't support GCC3 in Drizzle
>> because the C++ support is _way_ too old - but it doesn't seem that
>> anything is problematic here except for this particular warning check.
>
> Good to know for when we start using Drizzle...

Indeed.

I'm expecting that for folks using RHEL4 we'll likely set up a RHEL4
build machine that we install GCC4 on and then just ship binary RPMs -
haven't started worrying about that yet. (Of course, I would prefer if
everyone would just upgrade to RHEL5... :))

It's gonna be fun.

Monty

Vick Khera

unread,
Oct 20, 2009, 3:39:10 PM10/20/09
to gea...@googlegroups.com
On Tue, Oct 20, 2009 at 1:35 PM, Jay Janssen <ja...@yahoo-inc.com> wrote:
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)

FWIW, FreeBSD 6.x also uses gcc 3.4.6 as the default system compiler.  FreeBSD 6.4 is still a supported release.

zybingliu

unread,
Nov 15, 2009, 10:14:39 PM11/15/09
to gearman


On 10月21日, 上午12时45分, Jay Janssen <j...@yahoo-inc.com> wrote:
> gmake[3]: Entering directory `/homes/jayj/svn/yahoo/tools/gearman/gearmand/gearmand-0.10/tests'
> CXX cpp_test.o
> cc1plus: error: unrecognized command line option "-Wno-attributes"
> gmake[3]: *** [cpp_test.o] Error 1
>
> Any ideas what this is caused by? Everything else compiles fine. This is on RHEL 4.
>
> jay
> janssen
> bcp architect
>
> j...@yahoo-inc.com<mailto:j...@yahoo-inc.com>
> direct 585-593-3219 mobile 585-593-3219
>
> [cid:54BC5F54-7A2B-4514-97B8-A1A611201...@buffalo.rr.com]
>
> yahoo.gif
> 1K查看下载

I meet the same problem.
My OS is red hat linux ES 4.0

when i remove the flag , and recompiler, the gearmand server runs
normally.

Monty Taylor

unread,
Nov 15, 2009, 11:36:41 PM11/15/09
to gea...@googlegroups.com
zybingliu wrote:
>
> On 10锟斤拷21锟斤拷, 锟斤拷锟斤拷12时45锟斤拷, Jay Janssen <j...@yahoo-inc.com> wrote:
>> gmake[3]: Entering directory `/homes/jayj/svn/yahoo/tools/gearman/gearmand/gearmand-0.10/tests'
>> CXX cpp_test.o
>> cc1plus: error: unrecognized command line option "-Wno-attributes"
>> gmake[3]: *** [cpp_test.o] Error 1
>>
>> Any ideas what this is caused by? Everything else compiles fine. This is on RHEL 4.
>>
>> jay
>> janssen
>> bcp architect
>>
>> j...@yahoo-inc.com<mailto:j...@yahoo-inc.com>
>> direct 585-593-3219 mobile 585-593-3219
>>
>> [cid:54BC5F54-7A2B-4514-97B8-A1A611201...@buffalo.rr.com]
>>
>> yahoo.gif
>> 1K锟介看锟斤拷锟斤拷
>
> I meet the same problem.
> My OS is red hat linux ES 4.0
>
> when i remove the flag , and recompiler, the gearmand server runs
> normally.
>

Hrm. We _should_ be testing for that flag... I'll double check the test.

Jay Janssen

unread,
Nov 30, 2009, 10:00:14 AM11/30/09
to gea...@googlegroups.com
Any update on this?  I'd prefer to do my builds from the official source and not hack anything, will there be a new release soon with this fix?  I'd be happy to test out any pre-releases.  

On Nov 15, 2009, at 11:36 PM, Monty Taylor wrote:

zybingliu wrote:


On 10月21日, 上午12时45分, Jay Janssen <j...@yahoo-inc.com> wrote:
gmake[3]: Entering directory `/homes/jayj/svn/yahoo/tools/gearman/gearmand/gearmand-0.10/tests'
 CXX    cpp_test.o
cc1plus: error: unrecognized command line option "-Wno-attributes"
gmake[3]: *** [cpp_test.o] Error 1

Any ideas what this is caused by?   Everything else compiles fine.  This is on RHEL 4.

jay
janssen
bcp architect

j...@yahoo-inc.com<mailto:j...@yahoo-inc.com>
direct 585-593-3219    mobile 585-593-3219

[cid:54BC5F54-7A2B-4514-97B8-A1A611201...@buffalo.rr.com]

yahoo.gif
1K查看下载

I meet the same problem.
My OS is red hat linux ES 4.0

when i remove the flag , and recompiler, the gearmand server runs
normally.


Hrm. We _should_ be testing for that flag... I'll double check the test.

Monty Taylor

unread,
Nov 30, 2009, 12:45:31 PM11/30/09
to gea...@googlegroups.com
Sorry - my bad. It totally tell off of my radar.

Going to check now...

Jay Janssen wrote:
> Any update on this? I'd prefer to do my builds from the official source
> and not hack anything, will there be a new release soon with this fix?
> I'd be happy to test out any pre-releases.
>
> On Nov 15, 2009, at 11:36 PM, Monty Taylor wrote:
>
>> zybingliu wrote:
>>>
>>> On 10锟斤拷21锟斤拷, 锟斤拷锟斤拷12时45锟斤拷, Jay Janssen <j...@yahoo-inc.com> wrote:
>>>> gmake[3]: Entering directory
>>>> `/homes/jayj/svn/yahoo/tools/gearman/gearmand/gearmand-0.10/tests'
>>>> CXX cpp_test.o
>>>> cc1plus: error: unrecognized command line option "-Wno-attributes"
>>>> gmake[3]: *** [cpp_test.o] Error 1
>>>>
>>>> Any ideas what this is caused by? Everything else compiles fine.
>>>> This is on RHEL 4.
>>>>
>>>> jay
>>>> janssen
>>>> bcp architect
>>>>
>>>> j...@yahoo-inc.com<mailto:j....@yahoo-inc.com>
>>>> direct 585-593-3219 mobile 585-593-3219
>>>>
>>>> [cid:54BC5F54-7A2B-4514-97B8-A1A611201...@buffalo.rr.com]
>>>>
>>>> yahoo.gif
>>>> 1K锟介看锟斤拷锟斤拷
>>>
>>> I meet the same problem.
>>> My OS is red hat linux ES 4.0
>>>
>>> when i remove the flag , and recompiler, the gearmand server runs
>>> normally.
>>>
>>
>> Hrm. We _should_ be testing for that flag... I'll double check the test.
>>
>
> **jay*
> *janssen*
> bcp architect
>
> ja...@yahoo-inc.com <mailto:ja...@yahoo-inc.com>
> direct 585-593-3219 mobile 585-593-3219
>
> *
>

Monty Taylor

unread,
Nov 30, 2009, 12:49:53 PM11/30/09
to gea...@googlegroups.com
Ok. I'm even more lame than having this fall off my radar. I fixed it,
and it's in trunk. And has been since 10/20 when you originally wrote
in. I just didn't email anyone about it.

Sorry.

So - it should be fixed for you when 0.11 get released. :)

Monty

Jay Janssen wrote:
> Any update on this? I'd prefer to do my builds from the official source
> and not hack anything, will there be a new release soon with this fix?
> I'd be happy to test out any pre-releases.
>
> On Nov 15, 2009, at 11:36 PM, Monty Taylor wrote:
>
>> zybingliu wrote:
>>>
>>> On 10锟斤拷21锟斤拷, 锟斤拷锟斤拷12时45锟斤拷, Jay Janssen <j...@yahoo-inc.com> wrote:
>>>> gmake[3]: Entering directory
>>>> `/homes/jayj/svn/yahoo/tools/gearman/gearmand/gearmand-0.10/tests'
>>>> CXX cpp_test.o
>>>> cc1plus: error: unrecognized command line option "-Wno-attributes"
>>>> gmake[3]: *** [cpp_test.o] Error 1
>>>>
>>>> Any ideas what this is caused by? Everything else compiles fine.
>>>> This is on RHEL 4.
>>>>
>>>> jay
>>>> janssen
>>>> bcp architect
>>>>
>>>> j...@yahoo-inc.com<mailto:j....@yahoo-inc.com>
>>>> direct 585-593-3219 mobile 585-593-3219
>>>>
>>>> [cid:54BC5F54-7A2B-4514-97B8-A1A611201...@buffalo.rr.com]
>>>>
>>>> yahoo.gif
>>>> 1K锟介看锟斤拷锟斤拷
>>>
>>> I meet the same problem.
>>> My OS is red hat linux ES 4.0
>>>
>>> when i remove the flag , and recompiler, the gearmand server runs
>>> normally.
>>>
>>
>> Hrm. We _should_ be testing for that flag... I'll double check the test.
>>
>
> **jay*
> *janssen*
> bcp architect
>
> ja...@yahoo-inc.com <mailto:ja...@yahoo-inc.com>
> direct 585-593-3219 mobile 585-593-3219
>
> *
>

Jay Janssen

unread,
Nov 30, 2009, 1:19:09 PM11/30/09
to gea...@googlegroups.com
On Nov 30, 2009, at 12:49 PM, Monty Taylor wrote:

So - it should be fixed for you when 0.11 get released. :)

Cool, is that anytime soon? :)

jay
janssen 
bcp architect

Monty Taylor

unread,
Nov 30, 2009, 1:30:26 PM11/30/09
to gea...@googlegroups.com
Jay Janssen wrote:
> On Nov 30, 2009, at 12:49 PM, Monty Taylor wrote:
>
>> So - it should be fixed for you when 0.11 get released. :)
>
> Cool, is that anytime soon? :)

Eric?

Eric Day

unread,
Nov 30, 2009, 1:38:14 PM11/30/09
to gea...@googlegroups.com
We'll try to get a release out this week, we have enough fixes to go
in now. Keep an eye out, I'll send something to the list. :)

-Eric
Reply all
Reply to author
Forward
0 new messages