By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2459 - patch for tdelibs not compiling on FreeBSD 10.1 with -DHAVE_PIE_SUPPORT=ON
Summary: patch for tdelibs not compiling on FreeBSD 10.1 with -DHAVE_PIE_SUPPORT=ON
Status: RESOLVED INVALID
Alias: None
Product: TDE
Classification: Unclassified
Component: tdelibs (show other bugs)
Version: R14.0.1 [Trinity]
Hardware: All Other
: P5 blocker
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2015-06-15 03:51 CDT by Nikolaus Klepp
Modified: 2015-06-16 03:16 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
makes -DHAVE_PIE_SUPPORT=ON working (760 bytes, patch)
2015-06-15 03:51 CDT, Nikolaus Klepp
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaus Klepp 2015-06-15 03:51:45 CDT
Created attachment 2520 [details]
makes -DHAVE_PIE_SUPPORT=ON working

Simple patch to make tdelibs compile on FreeBSD 10.1 with _DHAVE_PIE_SUPPORT=ON.It changes :

TDE_PIE_CFLAGS -fPIE --> TDE_PIE_CFLAGS -fPIC
TDE_PIE_LDFLAGS -pie --> TDE_PIE_CFLAGS -pie -shared


$ cd <path-to-TDE-sources>/main
$ patch -p2 < tdelibs-freebsd.patch
Comment 1 Slávek Banko 2015-06-15 04:06:34 CDT
As I stated earlier, HAVE_PIE_SUPPORT is not an option, which would be set as a configuration parameter for CMake. It is determined automatically by the compiler options.

In any case, on my test machine I have successfully built tdelibs, tdebase and tdepim! I will write to you later on mail.
Comment 2 Nikolaus Klepp 2015-06-16 03:16:39 CDT
Sorry, the patch fixes only a bug in my build setup :-(