Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709544 - sys-power/nvclock-0.8_p20110102-r2 with CFLAGS=-fno-common - ld: ./nvcontrol/libnvcontrol.a(libnvcontrol.o):.../work/nvclock-0.8_p20110102/src/nvcontrol/nvcontrol.h:45: multiple definition of `option_list'
Summary: sys-power/nvclock-0.8_p20110102-r2 with CFLAGS=-fno-common - ld: ./nvcontrol/...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-14 00:46 UTC by Jeroen Roovers
Modified: 2020-02-14 00:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
files/nvclock-0.8_p20110102-fno-common.patch (nvclock-0.8_p20110102-fno-common.patch,304 bytes, patch)
2020-02-14 00:46 UTC, Jeroen Roovers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers gentoo-dev 2020-02-14 00:46:21 UTC
Created attachment 613742 [details, diff]
files/nvclock-0.8_p20110102-fno-common.patch

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./backend/libbackend.a(backend.o):/home/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/backend/../nvcontrol/nvcontrol.h:45: multiple definition of `option_list'; /home/portage/sys-power/nvclock-0.8_p20110102-r2/temp/ccTnvLMd.o:/home/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/./nvcontrol/nvcontrol.h:45: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./nvcontrol/libnvcontrol.a(libnvcontrol.o):/home/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/nvcontrol/nvcontrol.h:45: multiple definition of `option_list'; /home/portage/sys-power/nvclock-0.8_p20110102-r2/temp/ccTnvLMd.o:/home/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/./nvcontrol/nvcontrol.h:45: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./nvcontrol/libnvcontrol.a(nvcontrol.o):/home/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/nvcontrol/nvcontrol.h:45: multiple definition of `option_list'; /home/portage/sys-power/nvclock-0.8_p20110102-r2/temp/ccTnvLMd.o:/home/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src/./nvcontrol/nvcontrol.h:45: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:40: nvclock] Error 1
make: Leaving directory '/home/portage/sys-power/nvclock-0.8_p20110102-r2/work/nvclock-0.8_p20110102/src'
 * ERROR: sys-power/nvclock-0.8_p20110102-r2::gentoo failed (compile phase):
 *   emake failed