Re: Cube extension types support - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Cube extension types support
Date
Msg-id 5243082B.8060406@gmx.net
Whole thread Raw
In response to Cube extension types support  (Stas Kelvich <stas.kelvich@gmail.com>)
List pgsql-hackers
On 9/24/13 11:44 AM, Stas Kelvich wrote:
> In this patch I've implemented support for different storage types for cubes.

Doesn't build:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -fpic -I. -I.
-I../../src/include-D_GNU_SOURCE -I/usr/include/libxml2   -c -o cubeparse.o cubeparse.c -MMD -MP -MF
.deps/cubeparse.Po
cubeparse.y:35:13: warning: ‘check_coord’ used but never defined [enabled by default]
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute-Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -fpic -shared
-ocube.so cube.o cubeparse.o -L../../src/port -L../../src/common -L/usr/lib  -Wl,--as-needed  -lm 
 
/usr/bin/ld: cubeparse.o: relocation R_X86_64_PC32 against symbol `check_coord' can not be used when making a shared
object;recompile with -fPIC
 
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [cube.so] Error 1




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: SSI freezing bug
Next
From: Peter Eisentraut
Date:
Subject: Re: FW: REVIEW: Allow formatting in log_line_prefix