GCC 5 compatibility problems: GCC 4.10?

M. Edward (Ed) Borasky znmeb at znmeb.net
Sat May 9 19:45:10 UTC 2015


This looks like a programming error that previous versions of GCC
didn't catch and GCC 5.1.1 does catch, not a GCC bug:



On Sat, May 9, 2015 at 12:14 PM, M. Edward (Ed) Borasky <znmeb at znmeb.net> wrote:
> Should I file this in Bugzilla? The log file is huge and I'm guessing
> there's just some default language setting that's changed between 4.9
> and 5.1.1.
>
> On Sat, May 9, 2015 at 4:57 AM, Rex Dieter <rdieter at math.unl.edu> wrote:
>> M. Edward (Ed) Borasky wrote:
>>
>>> It's not in Fedora - RStudio Server. It's not in any distro; they
>>> package it themselves for Debian/Ubuntu, openSUSE and RHEL/CentOS. If
>>> you want it on Fedora you have to build it from source.
>>
>> Can you post details or references for the linking problem you're talking
>> about?
>>
>> -- Rex
>>
>>> On Fri, May 8, 2015 at 8:33 PM, Rex Dieter <rdieter at math.unl.edu> wrote:
>>>> M. Edward (Ed) Borasky wrote:
>>>>
>>>>> Yes, I'm currently blocked with a major package that compiles on GCC
>>>>> 4.9.1 but collapses in the link step on GCC 5.1.1. I've notified the
>>>>> upstream and they're either fix it or tell me to abandon hope of
>>>>> running on Fedora. ;-)
>>>>
>>>>
>>>> What package?
>>>>
>>>> -- Rex
>>>>
>>>> --
>>>> devel mailing list
>>>> devel at lists.fedoraproject.org
>>>> https://admin.fedoraproject.org/mailman/listinfo/devel
>>>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>>>
>>>
>>>
>>
>>
>> --
>> devel mailing list
>> devel at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/devel
>> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>
>
>
> --
> OSJourno: Robust Power Tools for Digital Journalists
> http://www.znmeb.mobi/stories/osjourno-robust-power-tools-for-digital-journalists
>
> Remember, if you're traveling to Bactria, Hump Day is Tuesday and Thursday.



-- 
OSJourno: Robust Power Tools for Digital Journalists
http://www.znmeb.mobi/stories/osjourno-robust-power-tools-for-digital-journalists

Remember, if you're traveling to Bactria, Hump Day is Tuesday and Thursday.
-------------- next part --------------
Linking CXX executable rsession
CMakeFiles/rsession.dir/SessionModuleContext.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/SessionRUtil.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/SessionUserSettings.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionAuthoring.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionBreakpoints.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionCodeSearch.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionConsole.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionDependencies.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionDiagnostics.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionDirty.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionErrors.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionFiles.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionFilesQuotas.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionGit.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionHelp.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionHTMLPreview.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionLimits.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionMarkers.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionPackages.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionPackrat.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionPlots.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionRCompletions.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionRHooks.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionRParser.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionRSConnect.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionShinyViewer.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionSource.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionSpelling.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionSVN.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/SessionWorkbench.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/build/SessionBuild.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/build/SessionBuildEnvironment.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/clang/RCompilationDatabase.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/clang/SessionClang.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/data/DataViewer.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/environment/EnvironmentMonitor.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/environment/EnvironmentUtils.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/environment/SessionEnvironment.cpp.o:(.bss+0x10): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/presentation/SessionPresentation.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/presentation/PresentationLog.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/presentation/SlideRequestHandler.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/rmarkdown/SessionRMarkdown.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/shiny/SessionShiny.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/tex/SessionCompilePdf.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/tex/SessionRnwWeave.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/tex/SessionTexUtils.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/modules/viewer/SessionViewer.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/projects/SessionProjects.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
CMakeFiles/rsession.dir/projects/SessionProjectContext.cpp.o:(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RExec.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RFunctionHook.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RJsonRpc.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(ROptions.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RRoutines.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RSexp.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RSourceManager.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RUtil.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RConsoleActions.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RSession.cpp.o):(.bss+0x10): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RGraphicsDevice.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RGraphicsPlotManager.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RGraphicsUtils.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RShadowPngGraphicsHandler.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(REmbeddedPosix.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RClientMetrics.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RSessionState.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RGraphicsPlot.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RGraphicsPlotManipulator.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RGraphicsPlotManipulatorManager.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
../r/librstudio-r.a(RSearchPath.cpp.o):(.bss+0x0): multiple definition of `R_running_as_main_program'
CMakeFiles/rsession.dir/SessionMain.cpp.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
src/cpp/session/CMakeFiles/rsession.dir/build.make:2911: recipe for target 'src/cpp/session/rsession' failed
make[2]: *** [src/cpp/session/rsession] Error 1
CMakeFiles/Makefile2:435: recipe for target 'src/cpp/session/CMakeFiles/rsession.dir/all' failed
make[1]: *** [src/cpp/session/CMakeFiles/rsession.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2


More information about the devel mailing list