Re: BUG #5461: Cross-compilation PostgreSQL on arm
От | Tom Lane |
---|---|
Тема | Re: BUG #5461: Cross-compilation PostgreSQL on arm |
Дата | |
Msg-id | 18648.1274106051@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | BUG #5461: Cross-compilation PostgreSQL on arm ("huangyi" <huangyi_xh@yahoo.com.cn>) |
Список | pgsql-bugs |
"huangyi" <huangyi_xh@yahoo.com.cn> writes: > arm-linux-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv > -I../../../src/include -D_GNU_SOURCE > -DVAL_CONFIGURE="\"'--prefix=/home/eps/pgsql-8.4.1/' '--host=arm-linux' > '--disable-spinlocks' '--enable-depend' '--without-readline' > '--without-zlib' 'host_alias=arm-linux'\"" -DVAL_CC="\"arm-linux-gcc\"" > -DVAL_CPPFLAGS="\"-D_GNU_SOURCE\"" -DVAL_CFLAGS="\"-O2 -Wall > -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement > -Wendif-labels -fno-strict-aliasing -fwrapv\"" -DVAL_CFLAGS_SL="\"-fpic\"" > -DVAL_LDFLAGS="\"-Wl,-rpath,'/home/eps/pgsql-8.4.1//lib'\"" > -DVAL_LDFLAGS_SL="\"\"" -DVAL_LIBS="\"-lpgport -lcrypt -ldl -lm \"" -c -o > pg_config.o pg_config.c -MMD -MP -MF .deps/pg_config.Po > arm-none-linux-gnueabi-gcc: '--host=arm-linux': No such file or directory > arm-none-linux-gnueabi-gcc: '--disable-spinlocks': No such file or > directory > arm-none-linux-gnueabi-gcc: '--enable-depend': No such file or directory > arm-none-linux-gnueabi-gcc: '--without-readline': No such file or directory > arm-none-linux-gnueabi-gcc: '--without-zlib': No such file or directory > arm-none-linux-gnueabi-gcc: 'host_alias=arm-linux'": No such file or > directory > arm-none-linux-gnueabi-gcc: ": No such file or directory > cc1: error: unrecognized command line option "-fwrapv"" > make[3]: *** [pg_config.o] Error 1 It looks to me like you've got a compiler bug, namely that it's being careless about the possibility of embedded quote marks in command-line -D switches. You'll need to complain to whoever supplied that arm-targeted version of gcc. regards, tom lane
В списке pgsql-bugs по дате отправления: