Re: [cmake-developers] GCC HPPA linker errors
While the dashboard may be red today from the curl update, it looks like this branch has cleared the linker issue and now pioneer and voyager are happily green together. On Nov 6, 2014 7:24 PM, David Cole via cmake-developers cmake-developers@cmake.org wrote: These are the earliest CDash results available for CMake: http://open.cdash.org/index.php?project=CMakedate=2014-07-09 (they're discarded after 120 days...) On Thu, Nov 6, 2014 at 5:27 PM, Rolf Eike Beer e...@sf-mail.de wrote: Am Donnerstag, 6. November 2014, 12:44:12 schrieb Brad King: On 11/06/2014 12:00 PM, Chuck Atkins wrote: I added an HP-UX block and adjusted the logic to be a bit more consistent with the other determine system blocks Looks good to me, assuming the test for parisc on hpux is correct. Chuck, you could try looking back into June/July to see what the HP-UX machine reported (hpux11.detec). On the other hand the check now only matches machines that are not Itanium, which is in theory 2 architectures, but I don't think that anyone can get CMake to work on an HP-UX m68k machine ;) -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Hi Eike, So, it seems that voyager has no issue, only pioneer, which I'm just taking as coincidence from differences in various binary sizes. However, from looking at the error log, the link line for cmake shows: /usr/bin/c++ -Wnon-virtual-dtor -Wcast-align -Wchar-subscripts -Wall -W -Wshadow -Wpointer-arith -Wformat-security -Wundef -g CMakeFiles/cmake.dir/cmakemain.cxx.o CMakeFiles/cmake.dir/cmcmd.cxx.o -o ../bin/cmake -rdynamic libCMakeLib.a kwsys/libcmsys.a ../Utilities/cmexpat/libcmexpat.a ../Utilities/cmlibarchive/libarchive/libcmlibarchive.a ../Utilities/cmliblzma/libcmliblzma.a ../Utilities/cmbzip2/libcmbzip2.a ../Utilities/cmcompress/libcmcompress.a ../Utilities/cmcurl/libcmcurl.a ../Utilities/cmzlib/libcmzlib.a -ldl which doesn't show the addition of the -mlong-calls flag. This is a bit perplexing as it would seem to imply that some how the if conditions are not being satisfied. On pioneer, does cmake --system-information show the expected value for CMAKE_SYSTEM_PROCESSOR, CMAKE_C_COMPILER_ID, and CMAKE_CXX_COMPILER_ID, i.e. parisc, GNU, and GNU ? - Chuck On Wed, Nov 5, 2014 at 11:55 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Mittwoch, 5. November 2014, 10:38:14 schrieben Sie: So, it seems nothing changed. Looking at the log though, it looks like the flags aren't even getting used. Can you check the output of uname with it's various options? I suspect the result might not be exactly parisc. voyager ~ # uname -a Linux voyager 3.16.1 #1 Tue Sep 2 17:27:07 CEST 2014 parisc PA8600 (PCX-W+) 9000/785/C3600 GNU/Linux voyager ~ # uname -m parisc -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Am Donnerstag, 6. November 2014, 10:37:25 schrieb Chuck Atkins: Hi Eike, So, it seems that voyager has no issue, only pioneer, which I'm just taking as coincidence from differences in various binary sizes. However, from looking at the error log, the link line for cmake shows: /usr/bin/c++ -Wnon-virtual-dtor -Wcast-align -Wchar-subscripts -Wall -W -Wshadow -Wpointer-arith -Wformat-security -Wundef -g CMakeFiles/cmake.dir/cmakemain.cxx.o CMakeFiles/cmake.dir/cmcmd.cxx.o -o ../bin/cmake -rdynamic libCMakeLib.a kwsys/libcmsys.a ../Utilities/cmexpat/libcmexpat.a ../Utilities/cmlibarchive/libarchive/libcmlibarchive.a ../Utilities/cmliblzma/libcmliblzma.a ../Utilities/cmbzip2/libcmbzip2.a ../Utilities/cmcompress/libcmcompress.a ../Utilities/cmcurl/libcmcurl.a ../Utilities/cmzlib/libcmzlib.a -ldl which doesn't show the addition of the -mlong-calls flag. This is a bit perplexing as it would seem to imply that some how the if conditions are not being satisfied. On pioneer, does cmake --system-information show the expected value for CMAKE_SYSTEM_PROCESSOR, CMAKE_C_COMPILER_ID, and CMAKE_CXX_COMPILER_ID, i.e. parisc, GNU, and GNU ? It says parisc64. I obviously never properly checked that when playing with my workaround code. Eike signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Aha! I'll change it to MATCHES instead of STREQUALS and that should do it since technically the issue is with both 32 and 64 bit architectures, it just might not have shown up yet on both. Perhaps the build name for the dashboard should be HPPA64 then instead HPPA32? - Chuck On Thu, Nov 6, 2014 at 10:54 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Donnerstag, 6. November 2014, 10:37:25 schrieb Chuck Atkins: Hi Eike, So, it seems that voyager has no issue, only pioneer, which I'm just taking as coincidence from differences in various binary sizes. However, from looking at the error log, the link line for cmake shows: /usr/bin/c++ -Wnon-virtual-dtor -Wcast-align -Wchar-subscripts -Wall -W -Wshadow -Wpointer-arith -Wformat-security -Wundef -g CMakeFiles/cmake.dir/cmakemain.cxx.o CMakeFiles/cmake.dir/cmcmd.cxx.o -o ../bin/cmake -rdynamic libCMakeLib.a kwsys/libcmsys.a ../Utilities/cmexpat/libcmexpat.a ../Utilities/cmlibarchive/libarchive/libcmlibarchive.a ../Utilities/cmliblzma/libcmliblzma.a ../Utilities/cmbzip2/libcmbzip2.a ../Utilities/cmcompress/libcmcompress.a ../Utilities/cmcurl/libcmcurl.a ../Utilities/cmzlib/libcmzlib.a -ldl which doesn't show the addition of the -mlong-calls flag. This is a bit perplexing as it would seem to imply that some how the if conditions are not being satisfied. On pioneer, does cmake --system-information show the expected value for CMAKE_SYSTEM_PROCESSOR, CMAKE_C_COMPILER_ID, and CMAKE_CXX_COMPILER_ID, i.e. parisc, GNU, and GNU ? It says parisc64. I obviously never properly checked that when playing with my workaround code. Eike -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Am Donnerstag, 6. November 2014, 10:58:36 schrieben Sie: Aha! I'll change it to MATCHES instead of STREQUALS and that should do it since technically the issue is with both 32 and 64 bit architectures, it just might not have shown up yet on both. Perhaps the build name for the dashboard should be HPPA64 then instead HPPA32? I hate MATCHES ;) at least make it MATCHES ^parisc. The build name is HPPA32 because it is a 32 bit userspace, Linux/HPPA does not have a 64 bit one (yet?). Eike signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
I hate MATCHES ;) at least make it MATCHES ^parisc. A reasonable compromise. The branch has been updated, merged, squashed, and remerged to next. We'll see what happens tonight. - Chuck -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
On 11/06/2014 11:22 AM, Chuck Atkins wrote: The branch has been updated, merged, squashed, and remerged to next Thanks. This hunk: # Determine whether this is Linux if echo ${cmake_system} | grep Linux /dev/null 21; then cmake_system_linux=true # find out if it is a HP PA-RISC machine if uname -m | grep parisc /dev/null 21; then cmake_machine_parisc=true else cmake_machine_parisc=false fi else cmake_system_linux=false cmake_machine_parisc=false fi Now sets an unused 'cmake_system_linux' variable and will never set 'cmake_machine_parisc' on non-Linux systems. Isn't the goal for this to work on HP-UX too? -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Rats! I keep forgetting about the bootstrap. I added an HP-UX block and adjusted the logic to be a bit more consistent with the other determine system blocks by moving the parisc determination out on it's own. How's this? # Determine whether this is HP-UX if echo ${cmake_system} | grep HP-UX /dev/null 21; then cmake_system_hpux=true else cmake_system_hpux=false fi # Determine whether this is Linux if echo ${cmake_system} | grep Linux /dev/null 21; then cmake_system_linux=true else cmake_system_linux=false fi # Determine whether this is a PA-RISC machine if ${cmake_system_linux}; then if uname -m | grep parisc /dev/null 21; then cmake_machine_parisc=true else cmake_machine_parisc=false fi elif ${cmake_system_hpux}; then if uname -m | grep ia64 /dev/null 21; then cmake_machine_parisc=false else cmake_machine_parisc=true fi fi - Chuck On Thu, Nov 6, 2014 at 11:27 AM, Brad King brad.k...@kitware.com wrote: On 11/06/2014 11:22 AM, Chuck Atkins wrote: The branch has been updated, merged, squashed, and remerged to next Thanks. This hunk: # Determine whether this is Linux if echo ${cmake_system} | grep Linux /dev/null 21; then cmake_system_linux=true # find out if it is a HP PA-RISC machine if uname -m | grep parisc /dev/null 21; then cmake_machine_parisc=true else cmake_machine_parisc=false fi else cmake_system_linux=false cmake_machine_parisc=false fi Now sets an unused 'cmake_system_linux' variable and will never set 'cmake_machine_parisc' on non-Linux systems. Isn't the goal for this to work on HP-UX too? -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
On 11/06/2014 12:00 PM, Chuck Atkins wrote: I added an HP-UX block and adjusted the logic to be a bit more consistent with the other determine system blocks Looks good to me, assuming the test for parisc on hpux is correct. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Am Donnerstag, 6. November 2014, 12:44:12 schrieb Brad King: On 11/06/2014 12:00 PM, Chuck Atkins wrote: I added an HP-UX block and adjusted the logic to be a bit more consistent with the other determine system blocks Looks good to me, assuming the test for parisc on hpux is correct. Chuck, you could try looking back into June/July to see what the HP-UX machine reported (hpux11.detec). On the other hand the check now only matches machines that are not Itanium, which is in theory 2 architectures, but I don't think that anyone can get CMake to work on an HP-UX m68k machine ;) signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
These are the earliest CDash results available for CMake: http://open.cdash.org/index.php?project=CMakedate=2014-07-09 (they're discarded after 120 days...) On Thu, Nov 6, 2014 at 5:27 PM, Rolf Eike Beer e...@sf-mail.de wrote: Am Donnerstag, 6. November 2014, 12:44:12 schrieb Brad King: On 11/06/2014 12:00 PM, Chuck Atkins wrote: I added an HP-UX block and adjusted the logic to be a bit more consistent with the other determine system blocks Looks good to me, assuming the test for parisc on hpux is correct. Chuck, you could try looking back into June/July to see what the HP-UX machine reported (hpux11.detec). On the other hand the check now only matches machines that are not Itanium, which is in theory 2 architectures, but I don't think that anyone can get CMake to work on an HP-UX m68k machine ;) -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
So, it seems nothing changed. Looking at the log though, it looks like the flags aren't even getting used. Can you check the output of uname with it's various options? I suspect the result might not be exactly parisc. - Chuck On Tue, Nov 4, 2014 at 4:27 PM, Chuck Atkins chuck.atk...@kitware.com wrote: just a matter of taste if this will be narrowed to Linux or not. In any case please try if you can just drop the existing workarounds. The best would probably to just replace their set() with yours and see if it works. If it does you can remove the if(Linux) and only match for the processor. I didn't realize the -Wl,--unique=.text._* was trying to address the same problem! I'll try this as a replacement tonight and we'll see if it cleans it up. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
On 11/05/2014 10:38 AM, Chuck Atkins wrote: So, it seems nothing changed. Looking at the log though, it looks like the flags aren't even getting used. The value of cmake_machine_parisc is not set on HP-UX by the bootstrap script so it can only ever work on Linux right now. These changes broke the bootstrap script on non-Linux systems. I've extended the topic to fix that: bootstrap: Initialize cmake_machine_parisc on non-Linux systems http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=25bae877 Previously the variable was only ever used on Linux. You'll have to update the topic further to actually set the value of cmake_machine_parisc on HP-UX. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Am Mittwoch, 5. November 2014, 10:38:14 schrieben Sie: So, it seems nothing changed. Looking at the log though, it looks like the flags aren't even getting used. Can you check the output of uname with it's various options? I suspect the result might not be exactly parisc. voyager ~ # uname -a Linux voyager 3.16.1 #1 Tue Sep 2 17:27:07 CEST 2014 parisc PA8600 (PCX-W+) 9000/785/C3600 GNU/Linux voyager ~ # uname -m parisc signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Am Dienstag, 4. November 2014, 11:27:24 schrieb Chuck Atkins: stage/fix-gcc-hppa Add -mlong-calls for gcc on HPPA. Merged to next for testing. Sorry, saw this mail only after I mailed you privately because I looked into the commit log first. For general consumption, here are the relevant parts again: Please make sure you also add these to bootstrap. And please see the very end of CompileFlags.cmake where we already added workarounds for HPPA, those are also in bootstrap. Until now we have not seen the problem on HP-UX, so this has been restricted to Linux until now. Greetings, Eike signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Please make sure you also add these to bootstrap.sh. Will do. And please see the very end of CompileFlags.cmake where we already added workarounds for HPPA. Until now we have not seen the problem on HP-UX, so this has been restricted to Linux until now. I considered putting it in there but from what I can tell, the issue is specific to GCC code generation for PA-RISC, regardless of OS, and is unrelated to Linux. Would you be able to verify whether or not this is needed on PA-RISC HP-UX with GCC v4+? I only have access to an ia64 HP-UX environment. - Chuck - Chuck On Tue, Nov 4, 2014 at 3:50 PM, Rolf Eike Beer e...@sf-mail.de wrote: Am Dienstag, 4. November 2014, 11:27:24 schrieb Chuck Atkins: stage/fix-gcc-hppa Add -mlong-calls for gcc on HPPA. Merged to next for testing. Sorry, saw this mail only after I mailed you privately because I looked into the commit log first. For general consumption, here are the relevant parts again: Please make sure you also add these to bootstrap. And please see the very end of CompileFlags.cmake where we already added workarounds for HPPA, those are also in bootstrap. Until now we have not seen the problem on HP-UX, so this has been restricted to Linux until now. Greetings, Eike -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
Am Dienstag, 4. November 2014, 16:17:08 schrieb Chuck Atkins: Please make sure you also add these to bootstrap.sh. Will do. And please see the very end of CompileFlags.cmake where we already added workarounds for HPPA. Until now we have not seen the problem on HP-UX, so this has been restricted to Linux until now. I considered putting it in there but from what I can tell, the issue is specific to GCC code generation for PA-RISC, regardless of OS, and is unrelated to Linux. Would you be able to verify whether or not this is needed on PA-RISC HP-UX with GCC v4+? I only have access to an ia64 HP-UX environment. We once had one HPPA-HP-UX system that reported to the dashboard, but using aCC. The machine died and I have not heard of a replacement yet. I guess it is just a matter of taste if this will be narrowed to Linux or not. In any case please try if you can just drop the existing workarounds. The best would probably to just replace their set() with yours and see if it works. If it does you can remove the if(Linux) and only match for the processor. Greetings, Eike signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
Re: [cmake-developers] GCC HPPA linker errors
just a matter of taste if this will be narrowed to Linux or not. In any case please try if you can just drop the existing workarounds. The best would probably to just replace their set() with yours and see if it works. If it does you can remove the if(Linux) and only match for the processor. I didn't realize the -Wl,--unique=.text._* was trying to address the same problem! I'll try this as a replacement tonight and we'll see if it cleans it up. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers