maaars / cudpp

Automatically exported from code.google.com/p/cudpp
Other
0 stars 0 forks source link

cudpp Makefile: NVCCFLAGS missing -Xcompiler -fPIC #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When trying to build a shared library using cudpp on Linux(x86_64) the
version of cudpp delivered with the NVidia SDK (any version) as well any
Version of cudpp including 1.1 result in:

relocation R_X86_64_32 against `a local symbol' can not be used when making
a shared object; recompile with -fPIC

The Problem is known and has been discussed/solved on
http://forums.nvidia.com/lofiversion/index.php?t63748.html

It would be a good idea to include the changes (see attached patch for
version 1.1) in future releases of cudpp as well as the version shipped
with the NVidia SDK.

Original issue reported on code.google.com by bor...@icg.tugraz.at on 4 Sep 2009 at 9:12

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in 1.1.1 branch by revision 114.

Original comment by harr...@gmail.com on 29 Apr 2010 at 7:07