[R-pkg-team] Bug#1024580: r-bioc-affxparser: FTBFS on hppa - cannot handle R_PARISC_PCREL17F

Andreas Tille andreas at an3as.eu
Mon Nov 21 19:20:56 GMT 2022


Hi John,

Am Mon, Nov 21, 2022 at 06:27:59PM +0000 schrieb John David Anglin:
> Source: r-bioc-affxparser
> Version: 1.70.0-1
> Severity: normal
> Tags: ftbfs patch
> ...
> Index: r-bioc-affxparser-1.68.1/src/Makevars
> ===================================================================
> --- r-bioc-affxparser-1.68.1.orig/src/Makevars
> +++ r-bioc-affxparser-1.68.1/src/Makevars
> @@ -1,5 +1,5 @@
>  ## -Wno-unused-private-field gives notes/errors with some compiler
> -MYCXXFLAGS = -Wno-sign-compare -O0
> +MYCXXFLAGS = -Wno-sign-compare
>  
>  %.o: %.cpp
>  	$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) $(MYCXXFLAGS) -c $< -o $@

Thanks a lot for the patch.  I admit I think this is only half of the
solution.  It deactivated optimisation for all architectures which means
a diversion from -O2 default.  If there is no better solution this patch
(which I added in Git) should be applied only for hppa.

Kind regards
    Andreas.

-- 
http://fam-tille.de



More information about the R-pkg-team mailing list