[Pkg-opencl-devel] latest pocl upload

Andreas Beckmann anbe at debian.org
Mon Mar 12 20:44:12 UTC 2018


On 2018-03-11 15:59, Michal Babej wrote:
> Hi,
> 
>> Debian explicitly defaults to None: 
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701233
>>
>> (I haven't investigated whether this is actually a problem here.)
> 
> OK. It shouldn't be a problem, if Debian sets up some reasonable flags
> via CMAKE_C_FLAGS and CMAKE_CXX_FLAGS. Otherwise it'll be built with the
> default (-O0).

The intention of "None" is to use the distribution defaults (-g -O2
+various hardening flags) in the CFLAGS/CXXFLAGS/... environment
variables, overriding upstream and CMake defaults (-O3 -DNDEBUG).
And -DNDEBUG is considered evil ... unless upstream very carefully uses
assert() (which pocl doesn't according to the arm64 FTBFS).


Andreas



More information about the Pkg-opencl-devel mailing list