Skip to content

Conversation

trofi
Copy link

@trofi trofi commented May 28, 2022

gcc-10 changed the default from -fcommon to fno-common:
https://gcc.gnu.org/PR85678

As a result build fails as:

ld: src/util.c.1.o:/build/pflask/build/../src/printf.h:42: multiple definition of
  `use_syslog'; src/cgroup.c.1.o:/build/pflask/build/../src/printf.h:42: first defined here

gcc-10 changed the default from -fcommon to fno-common:
  https://gcc.gnu.org/PR85678

As a result build fails as:

    ld: src/util.c.1.o:/build/pflask/build/../src/printf.h:42: multiple definition of
      `use_syslog'; src/cgroup.c.1.o:/build/pflask/build/../src/printf.h:42: first defined here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant