[Cmake-commits] CMake branch, next, updated. v2.8.9-1226-g40eca8d
Rolf Eike Beer
eike at sf-mail.de
Sun Oct 28 18:30:06 EDT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 40eca8d5b9132059d2c9a3ab07b91be7dbce822a (commit)
via 7ce58412080f85cb7a1758e0f236cd79c2ace26c (commit)
via abe4edfad3c6e8c2f2e9c08117507089790b303b (commit)
from 47df2f5509e8b2326fe541ae7a24681c3a245865 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=40eca8d5b9132059d2c9a3ab07b91be7dbce822a
commit 40eca8d5b9132059d2c9a3ab07b91be7dbce822a
Merge: 47df2f5 7ce5841
Author: Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Sun Oct 28 18:30:02 2012 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun Oct 28 18:30:02 2012 -0400
Merge topic 'parisc-default-flags' into next
7ce5841 set default linker flags for building on Linux/PA-RISC
abe4edf CMake Nightly Date Stamp
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7ce58412080f85cb7a1758e0f236cd79c2ace26c
commit 7ce58412080f85cb7a1758e0f236cd79c2ace26c
Author: Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Sun Oct 28 23:23:29 2012 +0100
Commit: Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Sun Oct 28 23:23:29 2012 +0100
set default linker flags for building on Linux/PA-RISC
There is a binutils bug that leads to errors like this:
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.6.3/../../../../hppa2.0-unknown-linux-gnu/bin/ld: libCMakeLib.a(cmTarget.cxx.o)(.text+0x12084): cannot reach 00001d28__ZNSspLEPKc@@GLIBCXX_3.4+0, recompile with -ffunction-sections
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.6.3/../../../../hppa2.0-unknown-linux-gnu/bin/ld: libCMakeLib.a(cmTarget.cxx.o)(.text+0x12084): cannot handle R_PARISC_PCREL17F for std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(char const*)@@GLIBCXX_3.4
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.6.3/../../../../hppa2.0-unknown-linux-gnu/bin/ld: final link failed: Bad value
Until someone finds out what needs to be fixed in binutils this allows anyone
to compile a working CMake even in debug mode.
diff --git a/CompileFlags.cmake b/CompileFlags.cmake
index b2044e4..20f5dec 100644
--- a/CompileFlags.cmake
+++ b/CompileFlags.cmake
@@ -62,3 +62,9 @@ endif ()
if (CMAKE_ANSI_CFLAGS)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
endif ()
+
+# avoid binutils problem with large binaries, e.g. when building CMake in debug mode
+# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50230
+if (CMAKE_SYSTEM_NAME STREQUAL Linux AND CMAKE_SYSTEM_PROCESSOR STREQUAL parisc)
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--unique=.text.*")
+endif ()
-----------------------------------------------------------------------
Summary of changes:
CompileFlags.cmake | 6 ++++++
Source/CMakeVersion.cmake | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list