Opened 11 years ago

Last modified 9 years ago

#2086 new defect

libgis build failure on alpha

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: Compiling Version: 6.4.3
Keywords: alpha, libgis Cc:
CPU: Other Platform: Linux

Description

Hi,

there was an error building the 6.4.3 Debian package on the Alpha platform. it happens when linking libgis:

...
gcc -I/«PKGBUILDDIR»/dist.alpha-unknown-linux-gnu/include  -g -O2 -Wformat -Werror=format-security  -fPIE    -D_FORTIFY_SOURCE=2  -Wformat -Wformat-security -Werror=format-security  -Wno-error=format-security -Wall -O    -fPIC   -DPACKAGE=\""grasslibs"\" -D_FILE_OFFSET_BITS=64 -DGDAL_LINK=1 -DGDAL_DYNAMIC=1   -DPACKAGE=\""grasslibs"\"  -I/usr/include/gdal -I/usr/include/gdal -I/«PKGBUILDDIR»/dist.alpha-unknown-linux-gnu/include -o OBJ.alpha-unknown-linux-gnu/zone.o -c zone.c
gcc -shared -o /«PKGBUILDDIR»/dist.alpha-unknown-linux-gnu/lib/libgrass_gis.6.4.3.so -L/«PKGBUILDDIR»/dist.alpha-unknown-linux-gnu/lib -Wl,--export-dynamic -Wl,-rpath-link,/«PKGBUILDDIR»/dist.alpha-unknown-linux-gnu/lib    OBJ.alpha-unknown-linux-gnu/adj_cellhd.o OBJ.alpha-unknown-linux-gnu/align_window.o OBJ.alpha-unknown-linux-gnu/alloc.o OBJ.alpha-unknown-linux-gnu/alloc_cell.o OBJ.alpha-unknown-linux-gnu/area.o OBJ.alpha-unknown-linux-gnu/area_ellipse.o OBJ.alpha-unknown-linux-gnu/area_poly1.o OBJ.alpha-unknown-linux-gnu/area_poly2.o OBJ.alpha-unknown-linux-gnu/area_sphere.o OBJ.alpha-unknown-linux-gnu/ascii_chk.o OBJ.alpha-unknown-linux-gnu/ask.o OBJ.alpha-unknown-linux-gnu/ask_cell.o OBJ.alpha-unknown-linux-gnu/ask_vctrs.o OBJ.alpha-unknown-linux-gnu/asprintf.o OBJ.alpha-unknown-linux-gnu/auto_mask.o OBJ.alpha-unknown-linux-gnu/basename.o OBJ.alpha-unknown-linux-gnu/bres_line.o OBJ.alpha-unknown-linux-gnu/cats.o OBJ.alpha-unknown-linux-gnu/cell_stats.o OBJ.alpha-unknown-linux-gnu/cell_title.o OBJ.alpha-unknown-linux-gnu/cellstats_eq.o OBJ.alpha-unknown-linux-gnu/clear_scrn.o OBJ.alpha-unknown-linux-gnu/clicker.o OBJ.alpha-unknown-linux-gnu/closecell.o OBJ.alpha-unknown-linux-gnu/color_compat.o OBJ.alpha-unknown-linux-gnu/color_free.o OBJ.alpha-unknown-linux-gnu/color_get.o OBJ.alpha-unknown-linux-gnu/color_hist.o OBJ.alpha-unknown-linux-gnu/color_init.o OBJ.alpha-unknown-linux-gnu/color_insrt.o OBJ.alpha-unknown-linux-gnu/color_invrt.o OBJ.alpha-unknown-linux-gnu/color_look.o OBJ.alpha-unknown-linux-gnu/color_org.o OBJ.alpha-unknown-linux-gnu/color_rand.o OBJ.alpha-unknown-linux-gnu/color_range.o OBJ.alpha-unknown-linux-gnu/color_read.o OBJ.alpha-unknown-linux-gnu/color_remove.o OBJ.alpha-unknown-linux-gnu/color_rule.o OBJ.alpha-unknown-linux-gnu/color_rule_get.o OBJ.alpha-unknown-linux-gnu/color_rules.o OBJ.alpha-unknown-linux-gnu/color_set.o OBJ.alpha-unknown-linux-gnu/color_shift.o OBJ.alpha-unknown-linux-gnu/color_str.o OBJ.alpha-unknown-linux-gnu/color_write.o OBJ.alpha-unknown-linux-gnu/color_xform.o OBJ.alpha-unknown-linux-gnu/commas.o OBJ.alpha-unknown-linux-gnu/copy.o OBJ.alpha-unknown-linux-gnu/copy_dir.o OBJ.alpha-unknown-linux-gnu/copy_file.o OBJ.alpha-unknown-linux-gnu/date.o OBJ.alpha-unknown-linux-gnu/datum.o OBJ.alpha-unknown-linux-gnu/debug.o OBJ.alpha-unknown-linux-gnu/dig_title.o OBJ.alpha-unknown-linux-gnu/distance.o OBJ.alpha-unknown-linux-gnu/done_msg.o OBJ.alpha-unknown-linux-gnu/endian.o OBJ.alpha-unknown-linux-gnu/env.o OBJ.alpha-unknown-linux-gnu/error.o OBJ.alpha-unknown-linux-gnu/file_name.o OBJ.alpha-unknown-linux-gnu/find_cell.o OBJ.alpha-unknown-linux-gnu/find_etc.o OBJ.alpha-unknown-linux-gnu/find_file.o OBJ.alpha-unknown-linux-gnu/find_vect.o OBJ.alpha-unknown-linux-gnu/flate.o OBJ.alpha-unknown-linux-gnu/fork.o OBJ.alpha-unknown-linux-gnu/format.o OBJ.alpha-unknown-linux-gnu/fpreclass.o OBJ.alpha-unknown-linux-gnu/gdal.o OBJ.alpha-unknown-linux-gnu/geodesic.o OBJ.alpha-unknown-linux-gnu/geodist.o OBJ.alpha-unknown-linux-gnu/get_cellhd.o OBJ.alpha-unknown-linux-gnu/get_datum_name.o OBJ.alpha-unknown-linux-gnu/get_ell_name.o OBJ.alpha-unknown-linux-gnu/get_ellipse.o OBJ.alpha-unknown-linux-gnu/get_projinfo.o OBJ.alpha-unknown-linux-gnu/get_projname.o OBJ.alpha-unknown-linux-gnu/get_row.o OBJ.alpha-unknown-linux-gnu/get_row_colr.o OBJ.alpha-unknown-linux-gnu/get_window.o OBJ.alpha-unknown-linux-gnu/getl.o OBJ.alpha-unknown-linux-gnu/gets.o OBJ.alpha-unknown-linux-gnu/gisbase.o OBJ.alpha-unknown-linux-gnu/gisdbase.o OBJ.alpha-unknown-linux-gnu/gishelp.o OBJ.alpha-unknown-linux-gnu/gisinit.o OBJ.alpha-unknown-linux-gnu/histo_eq.o OBJ.alpha-unknown-linux-gnu/histogram.o OBJ.alpha-unknown-linux-gnu/history.o OBJ.alpha-unknown-linux-gnu/home.o OBJ.alpha-unknown-linux-gnu/icon.o OBJ.alpha-unknown-linux-gnu/index.o OBJ.alpha-unknown-linux-gnu/init_map.o OBJ.alpha-unknown-linux-gnu/interp.o OBJ.alpha-unknown-linux-gnu/intersect.o OBJ.alpha-unknown-linux-gnu/intr_char.o OBJ.alpha-unknown-linux-gnu/is.o OBJ.alpha-unknown-linux-gnu/key_value1.o OBJ.alpha-unknown-linux-gnu/key_value2.o OBJ.alpha-unknown-linux-gnu/key_value3.o OBJ.alpha-unknown-linux-gnu/key_value4.o OBJ.alpha-unknown-linux-gnu/legal_name.o OBJ.alpha-unknown-linux-gnu/line_dist.o OBJ.alpha-unknown-linux-gnu/list.o OBJ.alpha-unknown-linux-gnu/ll_format.o OBJ.alpha-unknown-linux-gnu/ll_scan.o OBJ.alpha-unknown-linux-gnu/locale.o OBJ.alpha-unknown-linux-gnu/location.o OBJ.alpha-unknown-linux-gnu/ls.o OBJ.alpha-unknown-linux-gnu/mach_name.o OBJ.alpha-unknown-linux-gnu/make_colr.o OBJ.alpha-unknown-linux-gnu/make_loc.o OBJ.alpha-unknown-linux-gnu/make_mapset.o OBJ.alpha-unknown-linux-gnu/mapcase.o OBJ.alpha-unknown-linux-gnu/mapset.o OBJ.alpha-unknown-linux-gnu/mapset_msc.o OBJ.alpha-unknown-linux-gnu/mapset_nme.o OBJ.alpha-unknown-linux-gnu/mask_info.o OBJ.alpha-unknown-linux-gnu/maskfd.o OBJ.alpha-unknown-linux-gnu/myname.o OBJ.alpha-unknown-linux-gnu/named_colr.o OBJ.alpha-unknown-linux-gnu/nl_to_spaces.o OBJ.alpha-unknown-linux-gnu/nme_in_mps.o OBJ.alpha-unknown-linux-gnu/null_val.o OBJ.alpha-unknown-linux-gnu/open.o OBJ.alpha-unknown-linux-gnu/open_misc.o OBJ.alpha-unknown-linux-gnu/opencell.o OBJ.alpha-unknown-linux-gnu/overwrite.o OBJ.alpha-unknown-linux-gnu/parser.o OBJ.alpha-unknown-linux-gnu/paths.o OBJ.alpha-unknown-linux-gnu/percent.o OBJ.alpha-unknown-linux-gnu/plot.o OBJ.alpha-unknown-linux-gnu/pole_in_poly.o OBJ.alpha-unknown-linux-gnu/popen.o OBJ.alpha-unknown-linux-gnu/progrm_nme.o OBJ.alpha-unknown-linux-gnu/proj1.o OBJ.alpha-unknown-linux-gnu/proj2.o OBJ.alpha-unknown-linux-gnu/proj3.o OBJ.alpha-unknown-linux-gnu/put_cellhd.o OBJ.alpha-unknown-linux-gnu/put_row.o OBJ.alpha-unknown-linux-gnu/put_title.o OBJ.alpha-unknown-linux-gnu/put_window.o OBJ.alpha-unknown-linux-gnu/putenv.o OBJ.alpha-unknown-linux-gnu/quant.o OBJ.alpha-unknown-linux-gnu/quant_io.o OBJ.alpha-unknown-linux-gnu/quant_rw.o OBJ.alpha-unknown-linux-gnu/radii.o OBJ.alpha-unknown-linux-gnu/range.o OBJ.alpha-unknown-linux-gnu/raster.o OBJ.alpha-unknown-linux-gnu/raster_metadata.o OBJ.alpha-unknown-linux-gnu/rd_cellhd.o OBJ.alpha-unknown-linux-gnu/reclass.o OBJ.alpha-unknown-linux-gnu/remove.o OBJ.alpha-unknown-linux-gnu/rename.o OBJ.alpha-unknown-linux-gnu/rhumbline.o OBJ.alpha-unknown-linux-gnu/rotate.o OBJ.alpha-unknown-linux-gnu/sample.o OBJ.alpha-unknown-linux-gnu/seek.o OBJ.alpha-unknown-linux-gnu/set_window.o OBJ.alpha-unknown-linux-gnu/short_way.o OBJ.alpha-unknown-linux-gnu/sleep.o OBJ.alpha-unknown-linux-gnu/snprintf.o OBJ.alpha-unknown-linux-gnu/spawn.o OBJ.alpha-unknown-linux-gnu/squeeze.o OBJ.alpha-unknown-linux-gnu/store.o OBJ.alpha-unknown-linux-gnu/strings.o OBJ.alpha-unknown-linux-gnu/system.o OBJ.alpha-unknown-linux-gnu/tempfile.o OBJ.alpha-unknown-linux-gnu/timestamp.o OBJ.alpha-unknown-linux-gnu/token.o OBJ.alpha-unknown-linux-gnu/trim_dec.o OBJ.alpha-unknown-linux-gnu/unctrl.o OBJ.alpha-unknown-linux-gnu/unix_socks.o OBJ.alpha-unknown-linux-gnu/user_config.o OBJ.alpha-unknown-linux-gnu/verbose.o OBJ.alpha-unknown-linux-gnu/view.o OBJ.alpha-unknown-linux-gnu/whoami.o OBJ.alpha-unknown-linux-gnu/win32_pipes.o OBJ.alpha-unknown-linux-gnu/wind_2_box.o OBJ.alpha-unknown-linux-gnu/wind_format.o OBJ.alpha-unknown-linux-gnu/wind_in.o OBJ.alpha-unknown-linux-gnu/wind_limits.o OBJ.alpha-unknown-linux-gnu/wind_overlap.o OBJ.alpha-unknown-linux-gnu/wind_scan.o OBJ.alpha-unknown-linux-gnu/window_map.o OBJ.alpha-unknown-linux-gnu/wr_cellhd.o OBJ.alpha-unknown-linux-gnu/writ_zeros.o OBJ.alpha-unknown-linux-gnu/yes.o OBJ.alpha-unknown-linux-gnu/zero.o OBJ.alpha-unknown-linux-gnu/zero_cell.o OBJ.alpha-unknown-linux-gnu/zone.o -lz   -lgrass_datetime.6.4.3  -lm  -ldl 
/usr/bin/ld: OBJ.alpha-unknown-linux-gnu/color_rules.o: gp-relative relocation against dynamic symbol G_read_color_rule
/usr/bin/ld: OBJ.alpha-unknown-linux-gnu/color_rules.o: gp-relative relocation against dynamic symbol G_read_color_rule
/usr/bin/ld: OBJ.alpha-unknown-linux-gnu/color_rules.o: gp-relative relocation against dynamic symbol G_read_color_rule
/usr/bin/ld: OBJ.alpha-unknown-linux-gnu/color_rules.o: gp-relative relocation against dynamic symbol G_read_color_rule
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[4]: *** [/«PKGBUILDDIR»/dist.alpha-unknown-linux-gnu/lib/libgrass_gis.6.4.3.so] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/lib/gis'

full build log:

http://buildd.debian-ports.org/status/fetch.php?pkg=grass&arch=alpha&ver=6.4.3-2&stamp=1380216471

less-common platform build-log summary page:

http://buildd.debian-ports.org/status/package.php?p=grass

thanks, Hamish

Change History (3)

in reply to:  description comment:1 by glynn, 11 years ago

Replying to hamish:

there was an error building the 6.4.3 Debian package on the Alpha platform. it happens when linking libgis:

(Copied from #2085)

Alpha seems to have problems with function pointers in shared libraries. This may just be an issue with the linker flags for shared libraries (it probably doesn't help that Shlib.make expects the variable to be called SHLIB_LDFLAGS when 6.x's Platform.make uses SHLIB_LD_FLAGS).

comment:2 by neteler, 11 years ago

GRASS 6.4.3 is now compiling on Alpha:

http://buildd.debian-ports.org/status/package.php?p=grass

comment:3 by neteler, 9 years ago

Milestone: 6.4.46.4.6
Note: See TracTickets for help on using tickets.