graphics/geomorph: Unbreak build with GCC 10 (-fno-common default)

/usr/local/bin/ld: main.o:(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: document.o:(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: doctype.o:(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: thisappinit.o:(.bss+0x160): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: stack.o:(.bss+0x8): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(camera.o):(.bss+0xc0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(hf_wrapper.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(hf_dialog_options.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(hf_tools_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(hf_creation_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(surfadd.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(img_process_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(surfadd_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(img_process.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(subdiv1.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(uniform.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(subdiv1_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(uniform_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(hf_filters.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(hf_filters_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(waves_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(waves.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(subdiv2_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(subdiv2.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(gl_preview.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(merge_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(geom_transform_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(erode_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(craters.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(draw_tools_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(draw_hf.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(merge.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(fault.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(fault_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(swirl.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(swirl_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(erode.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(wind.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(wind_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(dialog_utilities.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(line.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(line_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(fill.o):(.bss+0x8): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(fill_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(render.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(voronoi.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(voronoi_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(draw_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(draw_hf_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(draw_crater_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../hf/libhf.a(draw.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../fourier/libfourier.a(fourier_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../fourier/libfourier.a(fourier.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../fourier/libfourier.a(fft.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../utils/libutils.a(utils.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../utils/libutils.a(config_rc_file.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../utils/libutils.a(config_dialog.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../utils/libutils.a(filesel.o):(.bss+0x8): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../utils/libutils.a(writepng.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../utils/libutils.a(menus_n_tools.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../utils/libutils.a(readpng.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here
/usr/local/bin/ld: ../utils/libutils.a(scale_buttons.o):(.bss+0x0): multiple definition of `default_dir'; app.o:(.bss+0x50): first defined here

http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/geomorph-0.60.1_11.log

PR:		246700
This commit is contained in:
Tobias Kortkamp 2020-07-04 10:19:52 +00:00
parent c82b5b7d22
commit eacc27ed77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541188

View file

@ -20,6 +20,7 @@ USE_GL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libintl-prefix="${LOCALBASE}"
USE_GCC= any # lots of severely broken code
CFLAGS+= -fcommon
PLIST_SUB= PORTVERSION=${PORTVERSION}
PORTDATA= *