https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66300

            Bug ID: 66300
           Summary: GCC_ENABLE_PLUGINS references undefined variables,
                    breaking configure
           Product: gcc
           Version: 5.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: plugins
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ossman at cendio dot se
  Target Milestone: ---

The GCC_ENABLE_PLUGINS macro references the variables gcc_cv_nm and
gcc_cv_objdump which will not be set outside of gcc/configure. This means that
e.g. libcc1 doesn't configure properly when those variables are needed.

I'm assuming this is because it was moved out of gcc/configure.ac, so I assume
the fix is to move more stuff out of there.

The error you get is:

checking for exported symbols...
/home/tltest/cenbuild/repo/rpmbuild/BUILD/gcc-5.1.0/libcc1/configure: line
14531: -T: command not found
yes
checking for -rdynamic...
/home/tltest/cenbuild/repo/rpmbuild/BUILD/gcc-5.1.0/libcc1/configure: line
14541: -T: command not found

Reply via email to