Issue 65 in rpostgresql: unknown clang argument during build, Xcode 5.1 incompatible

10 views
Skip to first unread message

rpost...@googlecode.com

unread,
Oct 6, 2014, 1:29:57 PM10/6/14
to rpostgr...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages