[MacPorts] #44871: Building R-3.1.1 on a PPC requires using a compiler that can properly handle ObjectiveC code
#44871: Building R-3.1.1 on a PPC requires using a compiler that can properly handle ObjectiveC code -------------------------+-------------------------------- Reporter: drjesacco@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: PPC | Port: R -------------------------+-------------------------------- R-3.1.1, with default variants, builds on a PPC provided: (1) the Apple compiler is used for compiling ObjectiveC code, and (2) the gcc48 suite of compilers is used for everything else: sudo port install R configure.compiler=macports-gcc-4.8 configure.objc=/usr/bin/gcc-4.2 The Apple compiler is necessary to properly compile the one .m file ./src/library/grDevices/src/qdCocoa.m If gcc-mp-4.8 is used instead, the quartz graphic device will fail to launch, causing R to exit because of an error. -Joseph -- Ticket URL: <https://trac.macports.org/ticket/44871> MacPorts <http://www.macports.org/> Ports system for OS X
#44871: Building R-3.1.1 on a PPC requires using a compiler that can properly handle ObjectiveC code --------------------------+--------------------------- Reporter: drjesacco@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: powerpc Port: R | --------------------------+--------------------------- Changes (by mf2k@…): * keywords: PPC => powerpc * owner: macports-tickets@… => kjell.konis@… * cc: kjell.konis@… (removed) Old description:
R-3.1.1, with default variants, builds on a PPC provided: (1) the Apple compiler is used for compiling ObjectiveC code, and (2) the gcc48 suite of compilers is used for everything else:
sudo port install R configure.compiler=macports-gcc-4.8 configure.objc=/usr/bin/gcc-4.2
The Apple compiler is necessary to properly compile the one .m file
./src/library/grDevices/src/qdCocoa.m
If gcc-mp-4.8 is used instead, the quartz graphic device will fail to launch, causing R to exit because of an error.
-Joseph
New description: R-3.1.1, with default variants, builds on a PPC provided: (1) the Apple compiler is used for compiling ObjectiveC code, and (2) the gcc48 suite of compilers is used for everything else: {{{ sudo port install R configure.compiler=macports-gcc-4.8 configure.objc=/usr/bin/gcc-4.2 }}} The Apple compiler is necessary to properly compile the one .m file {{{ ./src/library/grDevices/src/qdCocoa.m }}} If gcc-mp-4.8 is used instead, the quartz graphic device will fail to launch, causing R to exit because of an error. -Joseph -- Comment: In the future, please use WikiFormatting. -- Ticket URL: <https://trac.macports.org/ticket/44871#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44871: Building R-3.1.1 on a PPC requires using a compiler that can properly handle ObjectiveC code --------------------------+--------------------------- Reporter: drjesacco@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: powerpc Port: R | --------------------------+--------------------------- Comment (by drjesacco@…): There is one other issue that I have noticed. The file /opt/local/Library/Frameworks/R.framework/Resources/etc/Makeconf requires modification to correct a library search path issue. See below. -Joseph ---------------------------------------------------------------------- --- Makeconf~ 2014-10-10 11:48:00.000000000 -0400 +++ Makeconf 2014-10-10 12:47:53.000000000 -0400 @@ -62,7 +62,7 @@ LIBINTL= -Wl,-framework -Wl,CoreFoundation LIBM = LIBR = -F/opt/local/Library/Frameworks/R.framework/.. -framework R -LIBS = -llzma -lm -liconv -licuuc -licui18n +LIBS = $(LDFLAGS) -llzma -lm -liconv -licuuc -licui18n ## needed by R CMD config LIBnn = lib LIBTOOL = $(SHELL) "$(R_HOME)/bin/libtool" -- Ticket URL: <https://trac.macports.org/ticket/44871#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts