Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 65 by
gmon...@gmail.com: unknown clang argument during build,
Xcode 5.1 incompatible
https://code.google.com/p/rpostgresql/issues/detail?id=65
What steps will reproduce the problem?
1. svn checkout
http://rpostgresql.googlecode.com/svn/trunk/
rpostgresql-read-only
2. library(devtools) # install.packages('devtools') if needed
3. install('~/Downloads/rpostgresql-read-only/RPostgreSQL')
What is the expected output? What do you see instead?
Expected successful build, see instead:
(cd libpq; make CC="clang" CFLAGS="-Wall -mtune=core2 -g -O2 " -f
Makefile.darwin)
clang -Wall -mtune=core2 -g -O2 -Kthread -kthread -pthread -pthreads
-D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DFRONTEND
-DUNSAFE_STAT_OK -I. -I../src/include -I../src/port -I../src/port
-DSO_MAJOR_VERSION=5 -c -o fe-auth.o fe-auth.c
clang: error: unknown argument: '-Kthread'
clang: error: unknown argument: '-kthread'
What version of the product are you using? On what operating system?
Xcode 5.1
R version 3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)
Please provide any additional information below.
Issue is in the makefile:
~/Downloads/rpostgresql-read-only/RPostgreSQL/src/libpq/Makefile.global.darwin
line 193:
PTHREAD_CFLAGS = -Kthread -kthread -pthread -pthreads -D_REENTRANT
-D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings