* [Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
@ 2009-04-29 17:47 ` rguenth at gcc dot gnu dot org
2009-04-29 23:13 ` [Bug bootstrap/39968] New: " Andrew Thomas Pinski
` (10 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-29 17:47 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Priority|P3 |P1
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
2009-04-29 17:47 ` [Bug bootstrap/39968] " rguenth at gcc dot gnu dot org
@ 2009-04-29 23:13 ` Andrew Thomas Pinski
2009-04-29 23:13 ` [Bug bootstrap/39968] " pinskia at gmail dot com
` (9 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: Andrew Thomas Pinski @ 2009-04-29 23:13 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
Looks like this failson non elf hosts (well darwin supports dlopen so
I don't understand why it fails on darwin).
Sent from my iPhone
On Apr 29, 2009, at 10:19 AM, "dominiq at lps dot ens dot fr" <gcc-bugzilla@gcc.gnu.org
> wrote:
> Yet another bootstrap error on i686-apple-darwin9:
>
> ...
> /opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-
> gcc/
> -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -c -g -O2 -fomit-frame-
> pointer
> -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
> prototypes
> -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-
> attribute
> -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-
> strings -Werror
> -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.5-work/gcc
> -I../../gcc-4.5-work/gcc/. -I../../gcc-4.5-work/gcc/../include -
> I./../intl
> -I../../gcc-4.5-work/gcc/../libcpp/include -I/sw/include
> -I../../gcc-4.5-work/gcc/../libdecnumber
> -I../../gcc-4.5-work/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/
> include
> -I/sw/include -DCLOOG_PPL_BACKEND ../../gcc-4.5-work/gcc/pointer-
> set.c -o
> pointer-set.o
> cc1: warnings being treated as errors
> ./plugin-version.h:11: error: 'gcc_version' defined but not used
> make[3]: *** [plugin.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> rm gcj-dbtool.pod fsf-funding.pod jcf-dump.pod jv-convert.pod
> grmic.pod
> gcov.pod gcj.pod gc-analyze.pod gfdl.pod cpp.pod gij.pod gcc.pod
> gfortran.pod
> make[2]: *** [all-stage2-gcc] Error 2
> make[1]: *** [stage2-bubble] Error 2
> make: *** [all] Error 2
>
>
> --
> Summary: [4.5 Regression] ./plugin-version.h:11: error:
> 'gcc_version' defined but not used
> Product: gcc
> Version: 4.5.0
> Status: UNCONFIRMED
> Severity: normal
> Priority: P3
> Component: bootstrap
> AssignedTo: unassigned at gcc dot gnu dot org
> ReportedBy: dominiq at lps dot ens dot fr
> GCC build triplet: i686-apple-darwin9
> GCC host triplet: i686-apple-darwin9
> GCC target triplet: i686-apple-darwin9
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
2009-04-29 17:47 ` [Bug bootstrap/39968] " rguenth at gcc dot gnu dot org
2009-04-29 23:13 ` [Bug bootstrap/39968] New: " Andrew Thomas Pinski
@ 2009-04-29 23:13 ` pinskia at gmail dot com
2009-04-30 0:34 ` lcwu at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: pinskia at gmail dot com @ 2009-04-29 23:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gmail dot com 2009-04-29 23:13 -------
Subject: Re: New: [4.5 Regression] ./plugin-version.h:11: error:
'gcc_version' defined but not used
Looks like this failson non elf hosts (well darwin supports dlopen so
I don't understand why it fails on darwin).
Sent from my iPhone
On Apr 29, 2009, at 10:19 AM, "dominiq at lps dot ens dot fr"
<gcc-bugzilla@gcc.gnu.org
> wrote:
> Yet another bootstrap error on i686-apple-darwin9:
>
> ...
> /opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-
> gcc/
> -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -c -g -O2 -fomit-frame-
> pointer
> -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
> prototypes
> -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-
> attribute
> -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-
> strings -Werror
> -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.5-work/gcc
> -I../../gcc-4.5-work/gcc/. -I../../gcc-4.5-work/gcc/../include -
> I./../intl
> -I../../gcc-4.5-work/gcc/../libcpp/include -I/sw/include
> -I../../gcc-4.5-work/gcc/../libdecnumber
> -I../../gcc-4.5-work/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/
> include
> -I/sw/include -DCLOOG_PPL_BACKEND ../../gcc-4.5-work/gcc/pointer-
> set.c -o
> pointer-set.o
> cc1: warnings being treated as errors
> ./plugin-version.h:11: error: 'gcc_version' defined but not used
> make[3]: *** [plugin.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> rm gcj-dbtool.pod fsf-funding.pod jcf-dump.pod jv-convert.pod
> grmic.pod
> gcov.pod gcj.pod gc-analyze.pod gfdl.pod cpp.pod gij.pod gcc.pod
> gfortran.pod
> make[2]: *** [all-stage2-gcc] Error 2
> make[1]: *** [stage2-bubble] Error 2
> make: *** [all] Error 2
>
>
> --
> Summary: [4.5 Regression] ./plugin-version.h:11: error:
> 'gcc_version' defined but not used
> Product: gcc
> Version: 4.5.0
> Status: UNCONFIRMED
> Severity: normal
> Priority: P3
> Component: bootstrap
> AssignedTo: unassigned at gcc dot gnu dot org
> ReportedBy: dominiq at lps dot ens dot fr
> GCC build triplet: i686-apple-darwin9
> GCC host triplet: i686-apple-darwin9
> GCC target triplet: i686-apple-darwin9
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (2 preceding siblings ...)
2009-04-29 23:13 ` [Bug bootstrap/39968] " pinskia at gmail dot com
@ 2009-04-30 0:34 ` lcwu at gcc dot gnu dot org
2009-04-30 0:41 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: lcwu at gcc dot gnu dot org @ 2009-04-30 0:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from lcwu at gcc dot gnu dot org 2009-04-30 00:34 -------
The sole use of gcc_version in plugin.c is in function try_init_one_plugin,
which is guarded by the macro ENABLE_PLUGIN. Since ENABLE_PLUGIN is set to 0 on
the Darwin systems, the function was compiled out. I think we need to guard the
inclusion of plugin-version.h with ENABLE_PLUGIN as well.
--
lcwu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at google dot com,
| |lcwu at gcc dot gnu dot org,
| |espindola at google dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-04-30 00:34:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (3 preceding siblings ...)
2009-04-30 0:34 ` lcwu at gcc dot gnu dot org
@ 2009-04-30 0:41 ` pinskia at gcc dot gnu dot org
2009-04-30 8:07 ` espindola at google dot com
` (6 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-04-30 0:41 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-30 00:40 -------
Really I think plugin support is flawed. There should really be a shared
library which the plugins link against and this library is what the main GCC
links against too.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (4 preceding siblings ...)
2009-04-30 0:41 ` pinskia at gcc dot gnu dot org
@ 2009-04-30 8:07 ` espindola at google dot com
2009-04-30 10:09 ` joseph at codesourcery dot com
` (5 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: espindola at google dot com @ 2009-04-30 8:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from espindola at google dot com 2009-04-30 08:07 -------
Probably fixed on 146998.
Andrew Pinski, we cannot use a shared library for this. The idea is for the
plugin to remember what gcc version it was compiled for. A shared library can
change after the fact.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (5 preceding siblings ...)
2009-04-30 8:07 ` espindola at google dot com
@ 2009-04-30 10:09 ` joseph at codesourcery dot com
2009-05-04 11:42 ` dominiq at lps dot ens dot fr
` (4 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: joseph at codesourcery dot com @ 2009-04-30 10:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from joseph at codesourcery dot com 2009-04-30 10:09 -------
Subject: Re: [4.5 Regression] ./plugin-version.h:11:
error: 'gcc_version' defined but not used
On Thu, 30 Apr 2009, pinskia at gcc dot gnu dot org wrote:
> Really I think plugin support is flawed. There should really be a shared
> library which the plugins link against and this library is what the main GCC
> links against too.
This may be needed to support plugins on Windows hosts (and plugins do
definitely need a common GCC-provided build infrastructure so that plugins
people write will naturally build for other OSes as soon as support for
them is added to that infrastructure), but we should not need to slow down
GCC on Linux hosts by putting most of it in a shared library.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (6 preceding siblings ...)
2009-04-30 10:09 ` joseph at codesourcery dot com
@ 2009-05-04 11:42 ` dominiq at lps dot ens dot fr
2009-06-03 21:35 ` [Bug bootstrap/39968] Should plugins use shared library? fxcoudert at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: dominiq at lps dot ens dot fr @ 2009-05-04 11:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from dominiq at lps dot ens dot fr 2009-05-04 11:42 -------
This pr is fixed as long as *-apple-darwin9 is concerned. Due to comments #3 to
#5, I don't close it as fixed. If someone wants to keep this PR open, (s)he
should change subject and priority.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] Should plugins use shared library?
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (7 preceding siblings ...)
2009-05-04 11:42 ` dominiq at lps dot ens dot fr
@ 2009-06-03 21:35 ` fxcoudert at gcc dot gnu dot org
2010-01-25 7:38 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 17+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2009-06-03 21:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from fxcoudert at gcc dot gnu dot org 2009-06-03 21:35 -------
Changing subject according to comment #6.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i686-apple-darwin9 |
GCC host triplet|i686-apple-darwin9 |
GCC target triplet|i686-apple-darwin9 |
Summary|[4.5 Regression] ./plugin- |Should plugins use shared
|version.h:11: error: |library?
|'gcc_version' defined but |
|not used |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] Should plugins use shared library?
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (8 preceding siblings ...)
2009-06-03 21:35 ` [Bug bootstrap/39968] Should plugins use shared library? fxcoudert at gcc dot gnu dot org
@ 2010-01-25 7:38 ` ebotcazou at gcc dot gnu dot org
2010-04-06 11:38 ` rguenth at gcc dot gnu dot org
2010-07-31 9:32 ` rguenth at gcc dot gnu dot org
11 siblings, 0 replies; 17+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-01-25 7:38 UTC (permalink / raw)
To: gcc-bugs
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Priority|P1 |P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] Should plugins use shared library?
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (9 preceding siblings ...)
2010-01-25 7:38 ` ebotcazou at gcc dot gnu dot org
@ 2010-04-06 11:38 ` rguenth at gcc dot gnu dot org
2010-07-31 9:32 ` rguenth at gcc dot gnu dot org
11 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-06 11:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rguenth at gcc dot gnu dot org 2010-04-06 11:20 -------
GCC 4.5.0 is being released. Deferring to 4.5.1.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.5.0 |4.5.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug bootstrap/39968] Should plugins use shared library?
2009-04-29 17:19 [Bug bootstrap/39968] New: [4.5 Regression] ./plugin-version.h:11: error: 'gcc_version' defined but not used dominiq at lps dot ens dot fr
` (10 preceding siblings ...)
2010-04-06 11:38 ` rguenth at gcc dot gnu dot org
@ 2010-07-31 9:32 ` rguenth at gcc dot gnu dot org
11 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-31 9:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rguenth at gcc dot gnu dot org 2010-07-31 09:29 -------
GCC 4.5.1 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.5.1 |4.5.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39968
^ permalink raw reply [flat|nested] 17+ messages in thread