Bug #24619 | "make distcheck" fails when building the sql_yacc.o target | ||
---|---|---|---|
Submitted: | 27 Nov 2006 12:23 | Modified: | 27 Nov 2006 13:55 |
Reporter: | Lenz Grimmer | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 5.0.32-BK, 5.0-current | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[27 Nov 2006 12:23]
Lenz Grimmer
[27 Nov 2006 12:25]
Lenz Grimmer
This is very likely a duplicate of Bug #24557 - I just wanted to provide some more details.
[27 Nov 2006 13:55]
Valeriy Kravchuk
Verified just as described with latest 5.0.32-BK on Linux. Let's consider it a duplicate of bug #24557.
[28 Nov 2006 19:19]
Sergei Golubchik
if the goal is to get rid of attributes, I'd rather define __attribute__ to the empty macro, instead of sed hacks. But first I'd try to understand why bison is doing it
[30 Nov 2006 0:44]
Marc ALFF
GCC 4 not understanding __attribute__ seems wrong. Instead, this root cause could be related to Bug#2717, which has been there forever, but fixed really recently. Note that with bison 2.2, the generated code does not contain any __attribute__ anyway (did not checked with bison 1.875). Even with bison 1.875, I would be surprised that the generated code does not build on all platforms with all compilers, so the root cause is elsewhere, and the sed hack is not the correct fix.