Thanks for the information, John. So there seem to be a number of solutions:
1. Software author patches software 2. EasyConfig author patches software 3. EasyConfig author builds against pre-10 GCC Would it be worthwhile having something in the EB docs about the issue which would be useful for those involved in cases 1 and 2? Cheers, Loris John Dey <[email protected]> writes: > The default with GCC 10.2 is to compile with -fn-common which is causing many > issues with packages. In every case, I have encountered the software should > be patched. > > https://gcc.gnu.org/gcc-10/porting_to.html > > John Dey > [email protected] > > On Mon, Feb 22, 2021 at 5:45 AM Loris Bennett <[email protected]> > wrote: > > Hi, > > Starting from > > Subread-2.0.0-GCC-8.3.0.eb > > I updated the package to 2.0.1 and changed the compiler version to > 10.2.0 to build: > > Subread-2.0.1-GCC-10.2.0.eb > > However, this fails with multiple errors all like the following: > > > /trinity/shared/easybuild/software/binutils/2.35-GCCcore-10.2.0/bin/ld.gold: > error: core-junction.o: multiple definition of 'replica_index' > > /trinity/shared/easybuild/software/binutils/2.35-GCCcore-10.2.0/bin/ld.gold: > core.o: previous definition here > > There is a Debian bug report which mentions a similar issue > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957846 > > Regarding the solutions given there, I can confirm that building with > GCC 9.2.0 works, however when > > export CC=gcc-10 CXX=g++-10 > > is set, as suggested in the bug report, the build fails with the same > error as above. > > Is this a known problem with GCC 10? > > Cheers, > > Loris > > -- > Dr. Loris Bennett (Hr./Mr.) > ZEDAT, Freie Universität Berlin Email [email protected] > -- Dr. Loris Bennett (Hr./Mr.) ZEDAT, Freie Universität Berlin Email [email protected]

