BOINC / boinc

Open-source software for volunteer computing and grid computing.
https://boinc.berkeley.edu
GNU Lesser General Public License v3.0
2k stars 445 forks source link

commit e0bc66d61c build fails #3542

Open ghost opened 4 years ago

ghost commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

Steps To Reproduce

  1. checkout master
  2. CFLAGS='-ggdb -O0' ./configure --disable-server --disable-client --disable-fcgi --disable-libraries
  3. make -j4

Expected behavior Built manager or an error report that manager cannot be built alone.

Screenshots

System Information

Additional context Add any other context about the problem here.

The error log is large and basically consists of too many linking errors. From a layman point of view, this is usually due to a missing dependency between project parts. Perhaps a configure guard should be added. If a full log is needed, I can attach one.

ghost commented 4 years ago

Just recompiled this without --disable-libraries, and it builds fine. An error message in ./configure would be nice.

AenBleidd commented 4 years ago

So basically with this command you exclude everything (or almost everything) from build. I'd say it's rather a configuration issue because by default libraries are built. I'm not sure it's smart to provide all edge cases of build flags in configure script but feel free to do this. That would be very helpful for other users who'd want to build some particular part of the project by themselves.

AenBleidd commented 4 years ago

Closed by misclick

delta1513 commented 3 years ago

I am unable to recreate this issue on Arch Linux on kernel 5.8.14 x86_64 with GCC version 10.2.0

Exact steps I followed:

./_autosetup
CFLAGS='-ggdb -O0'
./configure --disable-server --disable-client --disable-fcgi --disable-libraries
make -j4

I have made appropriate changes to print an error when attempting to compile the manager only. Changes have been tested and work on my machine. Please let me know if more granularity is needed.

ghost commented 3 years ago

Which commit should I test?