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

Summary: patch for tdelibs not compiling on FreeBSD 10.1 with -DHAVE_PIE_SUPPORT=ON
Product: TDE Reporter: Nikolaus Klepp <office>
Component: tdelibsAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED INVALID    
Severity: blocker CC: bugwatch, office, slavek.banko
Priority: P5    
Version: R14.0.1 [Trinity]   
Hardware: All   
OS: Other   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: makes -DHAVE_PIE_SUPPORT=ON working

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 :-(