[rrd-developers] rrdtools 1.2.30 on Solaris 10 => relocations remain against allocatable ....
Tobias Oetiker
tobi at oetiker.ch
Sat Mar 7 15:56:29 CET 2009
Prochmi,
try adding an
-lm
to the pycc line
cheers
tobi
Today prochmi wrote:
>
> Hi,
>
> i'm using the sparc optimized gcc from sun to compile version 1.2.30 on
> solaris 10:
>
> building 'rrdtoolmodule' extension
> /usr/lib/python2.4/pycc -G -O3 -pipe -mcpu=niagara -mtune=niagara
> -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith
> -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
> -Winline -W -fPIC -DPIC build/temp.solaris-2.10-sun4v-2.4/rrdtoolmodule.o
> -L../../src/.libs -R/usr/local/rrdtool-1.2.30/lib -lrrd -o
> build/lib.solaris-2.10-sun4v-2.4/rrdtoolmodule.so
> Text relocation remains referenced
> against symbol offset in file
> <unknown> 0x78
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_atan2.o)
> <unknown> 0x90
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_atan2.o)
> <unknown> 0x1fc
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_atan2.o)
> <unknown> 0x294
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_atan2.o)
> <unknown> 0x2a0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_atan2.o)
> <unknown> 0x178
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> <unknown> 0x18c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> <unknown> 0x568
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> <unknown> 0x640
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> <unknown> 0x7c4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> <unknown> 0x7e8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> <unknown> 0x81c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> <unknown> 0x87c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> __libmopt_TBL_sincosx 0x1c4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> __libmopt_TBL_sincosx 0x1d0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> __libmopt_TBL_sincosx 0x1a4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> __libmopt_TBL_sincosx 0x1b0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> __libmopt_TBL_sincos 0x204
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> __libmopt_TBL_sincos 0x20c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> __libmopt_TBL_sincos 0x21c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> __libmopt_TBL_sincos 0x220
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> __libmopt_TBL_sincos 0x1d0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> __libmopt_TBL_sincos 0x1d8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> __libmopt_TBL_sincos 0x1ec
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> __libmopt_TBL_sincos 0x1f0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> __libmopt__rem_pio2 0x68c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_cos.o)
> __libmopt__rem_pio2 0x62c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> <unknown> 0x68
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x88
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0xc8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x16c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x29c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x370
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x174
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x17c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x27c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x288
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x2d0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x2d8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x35c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x37c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x3a4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0x3ac
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> __libmopt_TBL_xexp 0xbc
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> __libmopt_TBL_xexp 0xcc
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> __libmopt_TBL_xexp 0x19c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> __libmopt_TBL_xexp 0x1a8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> __libmopt_TBL_xexp 0x2b0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> __libmopt_TBL_xexp 0x2b8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_exp.o)
> <unknown> 0xa0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> <unknown> 0xb4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> <unknown> 0xd0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> <unknown> 0x264
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_xlog 0x1c0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_xlog 0x1c8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_xlog 0x368
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_xlog 0x374
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_n1 0x27c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_n1 0x284
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_n1 0x2f4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_n1 0x2f8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_n2 0x288
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_n2 0x28c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_n2 0x30c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_n2 0x314
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_p1 0x330
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_p1 0x334
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_p2 0x348
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> __libmopt_TBL_jlog_p2 0x350
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log.o)
> <unknown> 0xfc
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log10.o)
> <unknown> 0x108
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log10.o)
> <unknown> 0x14c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log10.o)
> <unknown> 0x234
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log10.o)
> __libmopt_TBL_log10 0x2b8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log10.o)
> __libmopt_TBL_log10 0x2c4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log10.o)
> __libmopt_TBL_log10 0x38c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log10.o)
> __libmopt_TBL_log10 0x398
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_log10.o)
> <unknown> 0x144
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x14c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x1cc
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x49c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x800
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x824
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x844
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x854
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x8c8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x930
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x98c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x9c0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x9c4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __libmopt_TBL_log2_9 0x134
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __libmopt_TBL_log2_9 0x13c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __xpg6 0x810
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __xpg6 0x814
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __xpg6 0x8b4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __xpg6 0x8b8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __libmopt_TBL_log2_14 0x514
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __libmopt_TBL_log2_14 0x520
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __libmopt_TBL_exp2_512 0x694
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> __libmopt_TBL_exp2_512 0x6a0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_pow.o)
> <unknown> 0x158
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> <unknown> 0x16c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> <unknown> 0x180
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> <unknown> 0x5b4
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> <unknown> 0x77c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f_sin.o)
> <unknown> 0x1a0
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2.o)
> <unknown> 0x1a8
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2.o)
> <unknown> 0x28
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2.o)
> <unknown> 0x3c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2.o)
> <unknown> 0x74
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2.o)
> __libmopt_rem_pio2m 0x22c
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2.o)
> <unknown> 0x90
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2m.o)
> <unknown> 0x98
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2m.o)
> <unknown> 0x788
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2m.o)
> <unknown> 0x794
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2m.o)
> <unknown> 0x80
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2m.o)
> <unknown> 0x88
> /opt/SUNW0scgfss/4.0.4/prod/lib/v8plus/libmopt.a(f__rem_pio2m.o)
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> error: command '/usr/lib/python2.4/pycc' failed with exit status 1
> gmake[3]: *** [python] Error 1
> gmake[3]: Leaving directory `/root/nagios/rrdtool-1.2.30/bindings'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/root/nagios/rrdtool-1.2.30/bindings'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/root/nagios/rrdtool-1.2.30'
> gmake: *** [all] Error 2
>
>
>
>
> any ideas or hints?
>
>
> best regards,
> michael
>
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-developers
mailing list