Response time distribution doesn't check ability "gcc atomic built in"
Bug #649000 reported by
Oleg Tsarev
This bug report is a duplicate of:
Bug #737947: Can't compile query_response_time on Windows and Solaris.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Confirmed
|
Medium
|
Oleg Tsarev |
Bug Description
Response time distribution patch use gcc atomic builtin, but doesn't check ability.
Suggested fix (alternatives):
1) Percona require this ability:
#ifdef GCC_ATOMIC_BUILTIN
...
#else
#error ....
#endif
2) autotools check this ability, and feature are disabled if builtin unaccessable
3) user can change behavior if patch: --with-
What better?
Changed in percona-server: | |
assignee: | nobody → Oleg Tsarev (tsarev) |
importance: | Undecided → Medium |
status: | New → Confirmed |
milestone: | none → 5.1.50-12.1 |
To post a comment you must log in.
I think checking with autotools is good enough
On Mon, Sep 27, 2010 at 8:22 AM, Oleg Tsarev <email address hidden> wrote: response- time-distributi on=[none] |gcc-atomic| mutex /bugs.launchpad .net/bugs/ 649000 response- time-distributi on=[none] |gcc-atomic| mutex
> Public bug reported:
>
> Response time distribution patch use gcc atomic builtin, but doesn't check ability.
> Suggested fix (alternatives):
> 1) Percona require this ability:
> #ifdef GCC_ATOMIC_BUILTIN
> ...
> #else
> #error ....
> #endif
> 2) autotools check this ability, and feature are disabled if builtin unaccessable
> 3) user can change behavior if patch: --with-
>
> What better?
>
> ** Affects: percona-server
> Importance: Medium
> Assignee: Oleg Tsarev (tsarev)
> Status: Confirmed
>
> ** Changed in: percona-server
> Assignee: (unassigned) => Oleg Tsarev (tsarev)
>
> ** Changed in: percona-server
> Importance: Undecided => Medium
>
> ** Changed in: percona-server
> Status: New => Confirmed
>
> ** Changed in: percona-server
> Milestone: None => 5.1.50-12.1
>
> --
> Response time distribution doesn't check ability "gcc atomic built in"
> https:/
> You received this bug notification because you are a member of Percona
> developers, which is the registrant for Percona Server.
>
> Status in Percona Server with XtraDB: Confirmed
>
> Bug description:
> Response time distribution patch use gcc atomic builtin, but doesn't check ability.
> Suggested fix (alternatives):
> 1) Percona require this ability:
> #ifdef GCC_ATOMIC_BUILTIN
> ...
> #else
> #error ....
> #endif
> 2) autotools check this ability, and feature are disabled if builtin unaccessable
> 3) user can change behavior if patch: --with-
>
> What better?
>
>
>
-- tungle. me/VadimTkachen ko
Vadim Tkachenko, CTO, Percona Inc.
Phone +1-888-401-3403, Skype: vadimtk153
Schedule meeting: http://