g++ linker over visual studio errors in all steps

Status
Not open for further replies.

runeazn

Dabbler
Joined
Mar 29, 2018
Messages
21
Hi,

I made a jail so I could compile c code on a system that is POSIX compliant.
So I just installed the gcc pkg and enabled ssh and went ahead.
However, I get the following error,
Code:
1>Starting remote build
1>Compiling sources:
1>Linking objects
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Application Type\Linux\1.0\Linux.targets(341,5): error : GNU ld (GNU Binutils) 2.30
1>Supported emulations : error :
1>Supported emulations : error :	aix5ppc
1>Supported emulations : error :	aix5rs6
1>Supported emulations : error :	aixppc
1>Supported emulations : error :	aixrs6
1>Supported emulations : error :	alpha
1>Supported emulations : error :	alphavms
1>Supported emulations : error :	arcv2elf
1>Supported emulations : error :	arcv2elfx
1>Supported emulations : error :	arcelf
1>Supported emulations : error :	arcelf_prof
1>Supported emulations : error :	arclinux
1>Supported emulations : error :	arclinux_nps
1>Supported emulations : error :	arclinux_prof
1>Supported emulations : error :	arm_epoc_pe
1>Supported emulations : error :	arm_wince_pe
1>Supported emulations : error :	armaoutb
1>Supported emulations : error :	armaoutl
1>Supported emulations : error :	armcoff
1>Supported emulations : error :	armelf
1>Supported emulations : error :	armelf_fbsd
1>Supported emulations : error :	armelf_fuchsia
1>Supported emulations : error :	armelf_linux
1>Supported emulations : error :	armelf_linux_eabi
1>Supported emulations : error :	armelf_nacl
1>Supported emulations : error :	armelf_nbsd
1>Supported emulations : error :	armelf_phoenix
1>Supported emulations : error :	armelf_vxworks
1>Supported emulations : error :	armelfb
1>Supported emulations : error :	armelfb_fbsd
1>Supported emulations : error :	armelfb_fuchsia
1>Supported emulations : error :	armelfb_linux
1>Supported emulations : error :	armelfb_linux_eabi
1>Supported emulations : error :	armelfb_nacl
1>Supported emulations : error :	armelfb_nbsd
1>Supported emulations : error :	armnbsd
1>Supported emulations : error :	armnto
1>Supported emulations : error :	armpe
1>Supported emulations : error :	armsymbian
1>Supported emulations : error :	avr1
1>Supported emulations : error :	avr2
1>Supported emulations : error :	avr25
1>Supported emulations : error :	avr3
1>Supported emulations : error :	avr31
1>Supported emulations : error :	avr35
1>Supported emulations : error :	avr4
1>Supported emulations : error :	avr5
1>Supported emulations : error :	avr51
1>Supported emulations : error :	avr6
1>Supported emulations : error :	avrxmega1
1>Supported emulations : error :	avrxmega2
1>Supported emulations : error :	avrxmega3
1>Supported emulations : error :	avrxmega4
1>Supported emulations : error :	avrxmega5
1>Supported emulations : error :	avrxmega6
1>Supported emulations : error :	avrxmega7
1>Supported emulations : error :	avrtiny
1>Supported emulations : error :	coff_i860
1>Supported emulations : error :	coff_sparc
1>Supported emulations : error :	crisaout
1>Supported emulations : error :	criself
1>Supported emulations : error :	crislinux
1>Supported emulations : error :	d10velf
1>Supported emulations : error :	d30v_e
1>Supported emulations : error :	d30v_o
1>Supported emulations : error :	d30velf
1>Supported emulations : error :	delta68
1>Supported emulations : error :	elf32_dlx
1>Supported emulations : error :	elf32_i860
1>Supported emulations : error :	elf32_i960
1>Supported emulations : error :	elf32_sparc
1>Supported emulations : error :	elf32_sparc_sol2
1>Supported emulations : error :	elf32_sparc_vxworks
1>Supported emulations : error :	elf32_spu
1>Supported emulations : error :	elf32_tic6x_be
1>Supported emulations : error :	elf32_tic6x_le
1>Supported emulations : error :	elf32_tic6x_linux_be
1>Supported emulations : error :	elf32_tic6x_linux_le
1>Supported emulations : error :	elf32_tic6x_elf_be
1>Supported emulations : error :	elf32_tic6x_elf_le
1>Supported emulations : error :	elf32am33lin
1>Supported emulations : error :	elf32bfin
1>Supported emulations : error :	elf32bfinfd
1>Supported emulations : error :	elf32cr16
1>Supported emulations : error :	elf32cr16c
1>Supported emulations : error :	elf32crx
1>Supported emulations : error :	elf32epiphany
1>Supported emulations : error :	elf32epiphany_4x4
1>Supported emulations : error :	elf32fr30
1>Supported emulations : error :	elf32frv
1>Supported emulations : error :	elf32frvfd
1>Supported emulations : error :	elf32ft32
1>Supported emulations : error :	elf32i370
1>Supported emulations : error :	elf32ip2k
1>Supported emulations : error :	elf32iq10
1>Supported emulations : error :	elf32iq2000
1>Supported emulations : error :	elf32lm32
1>Supported emulations : error :	elf32lm32fd
1>Supported emulations : error :	elf32lppc
1>Supported emulations : error :	elf32lppclinux
1>Supported emulations : error :	elf32lppcnto
1>Supported emulations : error :	elf32lppcsim
1>Supported emulations : error :	elf32m32c
1>Supported emulations : error :	elf32mb_linux
1>Supported emulations : error :	elf32mbel_linux
1>Supported emulations : error :	elf32mcore
1>Supported emulations : error :	elf32mep
1>Supported emulations : error :	elf32metag
1>Supported emulations : error :	elf32microblazeel
1>Supported emulations : error :	elf32microblaze
1>Supported emulations : error :	elf32moxie
1>Supported emulations : error :	moxiebox
1>Supported emulations : error :	elf32mt
1>Supported emulations : error :	elf32or1k
1>Supported emulations : error :	elf32or1k_linux
1>Supported emulations : error :	elf32ppc
1>Supported emulations : error :	elf32ppc_fbsd
1>Supported emulations : error :	elf32ppclinux
1>Supported emulations : error :	elf32ppcnto
1>Supported emulations : error :	elf32ppcsim
1>Supported emulations : error :	elf32ppcvxworks
1>Supported emulations : error :	elf32ppcwindiss
1>Supported emulations : error :	elf32lriscv
1>Supported emulations : error :	elf32rl78
1>Supported emulations : error :	elf32rx
1>Supported emulations : error :	elf32tilegx
1>Supported emulations : error :	elf32tilegx_be
1>Supported emulations : error :	elf32tilepro
1>Supported emulations : error :	elf32vax
1>Supported emulations : error :	elf32visium
1>Supported emulations : error :	elf32xc16x
1>Supported emulations : error :	elf32xc16xl
1>Supported emulations : error :	elf32xc16xs
1>Supported emulations : error :	elf32xstormy16
1>Supported emulations : error :	elf32xtensa
1>Supported emulations : error :	elf_i386
1>Supported emulations : error :	elf_i386_be
1>Supported emulations : error :	elf_i386_chaos
1>Supported emulations : error :	elf_i386_fbsd
1>Supported emulations : error :	elf_i386_ldso
1>Supported emulations : error :	elf_i386_nacl
1>Supported emulations : error :	elf_i386_sol2
1>Supported emulations : error :	elf_i386_vxworks
1>Supported emulations : error :	elf_iamcu
1>Supported emulations : error :	elf_s390
1>Supported emulations : error :	960
1>Supported emulations : error :	960coff
1>Supported emulations : error :	h8300
1>Supported emulations : error :	h8300elf
1>Supported emulations : error :	h8300elf_linux
1>Supported emulations : error :	h8300h
1>Supported emulations : error :	h8300helf
1>Supported emulations : error :	h8300helf_linux
1>Supported emulations : error :	h8300hn
1>Supported emulations : error :	h8300hnelf
1>Supported emulations : error :	h8300s
1>Supported emulations : error :	h8300self
1>Supported emulations : error :	h8300self_linux
1>Supported emulations : error :	h8300sn
1>Supported emulations : error :	h8300snelf
1>Supported emulations : error :	h8300sx
1>Supported emulations : error :	h8300sxelf
1>Supported emulations : error :	h8300sxelf_linux
1>Supported emulations : error :	h8300sxn
1>Supported emulations : error :	h8300sxnelf
1>Supported emulations : error :	h8500
1>Supported emulations : error :	h8500b
1>Supported emulations : error :	h8500c
1>Supported emulations : error :	h8500m
1>Supported emulations : error :	h8500s
1>Supported emulations : error :	hp300bsd
1>Supported emulations : error :	hp3hpux
1>Supported emulations : error :	hppaelf
1>Supported emulations : error :	hppalinux
1>Supported emulations : error :	hppanbsd
1>Supported emulations : error :	hppaobsd
1>Supported emulations : error :	i386aout
1>Supported emulations : error :	i386beos
1>Supported emulations : error :	i386bsd
1>Supported emulations : error :	i386coff
1>Supported emulations : error :	i386go32
1>Supported emulations : error :	i386linux
1>Supported emulations : error :	i386lynx
1>Supported emulations : error :	i386mach
1>Supported emulations : error :	i386moss
1>Supported emulations : error :	i386msdos
1>Supported emulations : error :	i386nbsd
1>Supported emulations : error :	i386nto
1>Supported emulations : error :	i386nw
1>Supported emulations : error :	i386pe
1>Supported emulations : error :	i386pe_posix
1>Supported emulations : error :	lnk960
1>Supported emulations : error :	m32relf
1>Supported emulations : error :	m32relf_linux
1>Supported emulations : error :	m32rlelf
1>Supported emulations : error :	m32rlelf_linux
1>Supported emulations : error :	m68hc11elf
1>Supported emulations : error :	m68hc11elfb
1>Supported emulations : error :	m68hc12elf
1>Supported emulations : error :	m68hc12elfb
1>Supported emulations : error :	m68k4knbsd
1>Supported emulations : error :	m68kaout
1>Supported emulations : error :	m68kaux
1>Supported emulations : error :	m68kcoff
1>Supported emulations : error :	m68kelf
1>Supported emulations : error :	m68kelfnbsd
1>Supported emulations : error :	m68klinux
1>Supported emulations : error :	m68knbsd
1>Supported emulations : error :	m68kpsos
1>Supported emulations : error :	m88kbcs
1>Supported emulations : error :	mcorepe
1>Supported emulations : error :	mn10200
1>Supported emulations : error :	mn10300
1>Supported emulations : error :	msp430elf
1>Supported emulations : error :	msp430X
1>Supported emulations : error :	nds32elf
1>Supported emulations : error :	nds32elf16m
1>Supported emulations : error :	nds32elf_linux
1>Supported emulations : error :	nds32belf
1>Supported emulations : error :	nds32belf16m
1>Supported emulations : error :	nds32belf_linux
1>Supported emulations : error :	news
1>Supported emulations : error :	ns32knbsd
1>Supported emulations : error :	nios2elf
1>Supported emulations : error :	nios2linux
1>Supported emulations : error :	pc532macha
1>Supported emulations : error :	pdp11
1>Supported emulations : error :	pjelf
1>Supported emulations : error :	pjlelf
1>Supported emulations : error :	ppclynx
1>Supported emulations : error :	ppcmacos
1>Supported emulations : error :	ppcnw
1>Supported emulations : error :	ppcpe
1>Supported emulations : error :	pruelf
1>Supported emulations : error :	riscix
1>Supported emulations : error :	score3_elf
1>Supported emulations : error :	score7_elf
1>Supported emulations : error :	sh
1>Supported emulations : error :	shelf
1>Supported emulations : error :	shelf32
1>Supported emulations : error :	shelf32_linux
1>Supported emulations : error :	shelf32_nbsd
1>Supported emulations : error :	shelf_fd
1>Supported emulations : error :	shelf_linux
1>Supported emulations : error :	shelf_nbsd
1>Supported emulations : error :	shelf_nto
1>Supported emulations : error :	shelf_uclinux
1>Supported emulations : error :	shelf_vxworks
1>Supported emulations : error :	shl
1>Supported emulations : error :	shlelf
1>Supported emulations : error :	shlelf32
1>Supported emulations : error :	shlelf32_linux
1>Supported emulations : error :	shlelf32_nbsd
1>Supported emulations : error :	shlelf_fd
1>Supported emulations : error :	shlelf_linux
1>Supported emulations : error :	shlelf_nbsd
1>Supported emulations : error :	shlelf_nto
1>Supported emulations : error :	shlelf_vxworks
1>Supported emulations : error :	shlsymbian
1>Supported emulations : error :	shpe
1>Supported emulations : error :	sparcaout
1>Supported emulations : error :	sparclinux
1>Supported emulations : error :	sparcnbsd
1>Supported emulations : error :	st2000
1>Supported emulations : error :	sun3
1>Supported emulations : error :	sun4
1>Supported emulations : error :	tic30aout
1>Supported emulations : error :	tic30coff
1>Supported emulations : error :	tic3xcoff
1>Supported emulations : error :	tic3xcoff_onchip
1>Supported emulations : error :	tic4xcoff
1>Supported emulations : error :	tic54xcoff
1>Supported emulations : error :	tic80coff
1>Supported emulations : error :	v850
1>Supported emulations : error :	v850_rh850
1>Supported emulations : error :	vanilla
1>Supported emulations : error :	vax
1>Supported emulations : error :	vaxnbsd
1>Supported emulations : error :	vsta
1>Supported emulations : error :	w65
1>Supported emulations : error :	xgateelf
1>Supported emulations : error :	z80
1>Supported emulations : error :	z8001
1>Supported emulations : error :	z8002
1>Supported emulations : error :	aarch64elf
1>Supported emulations : error :	aarch64elf32
1>Supported emulations : error :	aarch64elfb
1>Supported emulations : error :	aarch64elf32b
1>Supported emulations : error :	aarch64cloudabi
1>Supported emulations : error :	aarch64cloudabib
1>Supported emulations : error :	aarch64fbsd
1>Supported emulations : error :	aarch64fbsdb
1>Supported emulations : error :	aarch64linux
1>Supported emulations : error :	aarch64linuxb
1>Supported emulations : error :	aarch64linux32
1>Supported emulations : error :	aarch64linux32b
1>Supported emulations : error :	elf32_x86_64
1>Supported emulations : error :	elf32_x86_64_nacl
1>Supported emulations : error :	elf32b4300
1>Supported emulations : error :	elf32bmip
1>Supported emulations : error :	elf32bmipn32
1>Supported emulations : error :	elf32bsmip
1>Supported emulations : error :	elf32btsmip
1>Supported emulations : error :	elf32btsmip_fbsd
1>Supported emulations : error :	elf32btsmipn32
1>Supported emulations : error :	elf32btsmipn32_fbsd
1>Supported emulations : error :	elf32ebmip
1>Supported emulations : error :	elf32ebmipvxworks
1>Supported emulations : error :	elf32elmip
1>Supported emulations : error :	elf32elmipvxworks
1>Supported emulations : error :	elf32l4300
1>Supported emulations : error :	elf32lmip
1>Supported emulations : error :	elf32lr5900
1>Supported emulations : error :	elf32lr5900n32
1>Supported emulations : error :	elf32lsmip
1>Supported emulations : error :	elf32ltsmip
1>Supported emulations : error :	elf32ltsmip_fbsd
1>Supported emulations : error :	elf32ltsmipn32
1>Supported emulations : error :	elf32ltsmipn32_fbsd
1>Supported emulations : error :	elf32mipswindiss
1>Supported emulations : error :	elf64_aix
1>Supported emulations : error :	elf64_ia64
1>Supported emulations : error :	elf64_ia64_fbsd
1>Supported emulations : error :	elf64_ia64_vms
1>Supported emulations : error :	elf64_s390
1>Supported emulations : error :	elf64_sparc
1>Supported emulations : error :	elf64_sparc_fbsd
1>Supported emulations : error :	elf64_sparc_sol2
1>Supported emulations : error :	elf64alpha
1>Supported emulations : error :	elf64alpha_fbsd
1>Supported emulations : error :	elf64alpha_nbsd
1>Supported emulations : error :	elf64bmip
1>Supported emulations : error :	elf64btsmip
1>Supported emulations : error :	elf64btsmip_fbsd
1>Supported emulations : error :	elf64hppa
1>Supported emulations : error :	elf64lppc
1>Supported emulations : error :	elf64lriscv
1>Supported emulations : error :	elf64ltsmip
1>Supported emulations : error :	elf64ltsmip_fbsd
1>Supported emulations : error :	elf64mmix
1>Supported emulations : error :	elf64ppc
1>Supported emulations : error :	elf64ppc_fbsd
1>Supported emulations : error :	elf64rdos
1>Supported emulations : error :	elf64tilegx
1>Supported emulations : error :	elf64tilegx_be
1>Supported emulations : error :	elf_l1om
1>Supported emulations : error :	elf_l1om_fbsd
1>Supported emulations : error :	elf_k1om
1>Supported emulations : error :	elf_k1om_fbsd
1>Supported emulations : error :	elf_x86_64
1>Supported emulations : error :	elf_x86_64_cloudabi
1>Supported emulations : error :	elf_x86_64_fbsd
1>Supported emulations : error :	elf_x86_64_nacl
1>Supported emulations : error :	elf_x86_64_sol2
1>Supported emulations : error :	hppa64linux
1>Supported emulations : error :	i386pep
1>Supported emulations : error :	mmo
1>Supported emulations : error :	shelf64
1>Supported emulations : error :	shelf64_nbsd
1>Supported emulations : error :	shlelf64
1>Supported emulations : error :	shlelf64_nbsd
1>using internal linker script : error :
1>using internal linker script : error : ==================================================
1>/* Script for -z combreloc -z now -z relro : error : combine and sort reloc sections */
1>/* Script for -z combreloc -z now -z relro : error : /* Copyright (C) 2014-2018 Free Software Foundation, Inc.
1>/* Script for -z combreloc -z now -z relro : error :	Copying and distribution of this script, with or without modification,
1>/* Script for -z combreloc -z now -z relro : error :	are permitted in any medium without royalty provided the copyright
1>/* Script for -z combreloc -z now -z relro : error :	notice and this notice are preserved.  */
1>/* Script for -z combreloc -z now -z relro : error : OUTPUT_FORMAT("elf64-x86-64-freebsd", "elf64-x86-64-freebsd",
1>/* Script for -z combreloc -z now -z relro : error :		  "elf64-x86-64-freebsd")
1>OUTPUT_ARCH(i386 : error : x86-64)
1>OUTPUT_ARCH(i386 : error : ENTRY(_start)
1>OUTPUT_ARCH(i386 : error : SEARCH_DIR("=/usr/local/x86_64-portbld-freebsd11.1/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib"); SEARCH_DIR("=/usr/local/lib");
1>OUTPUT_ARCH(i386 : error : SECTIONS
1>OUTPUT_ARCH(i386 : error : {
1>/* Read-only sections, merged into text segment : error : */
1>/* Read-only sections, merged into text segment : error :   PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x400000)); . = SEGMENT_START("text-segment", 0x400000) + SIZEOF_HEADERS;
1>.interp		  : error : { *(.interp) }
1>.note.gnu.build-id  : error : { *(.note.gnu.build-id) }
1>.hash			: error : { *(.hash) }
1>.gnu.hash		: error : { *(.gnu.hash) }
1>.dynsym		  : error : { *(.dynsym) }
1>.dynstr		  : error : { *(.dynstr) }
1>.gnu.version	 : error : { *(.gnu.version) }
1>.gnu.version_d   : error : { *(.gnu.version_d) }
1>.gnu.version_r   : error : { *(.gnu.version_r) }
1>.rela.dyn		: error :
1>.rela.dyn		: error :	 {
1>.rela.dyn		: error :	   *(.rela.init)
1>.rela.dyn		: error :	   *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
1>.rela.dyn		: error :	   *(.rela.fini)
1>.rela.dyn		: error :	   *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
1>.rela.dyn		: error :	   *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
1>.rela.dyn		: error :	   *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
1>.rela.dyn		: error :	   *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
1>.rela.dyn		: error :	   *(.rela.ctors)
1>.rela.dyn		: error :	   *(.rela.dtors)
1>.rela.dyn		: error :	   *(.rela.got)
1>.rela.dyn		: error :	   *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
1>.rela.dyn		: error :	   *(.rela.ldata .rela.ldata.* .rela.gnu.linkonce.l.*)
1>.rela.dyn		: error :	   *(.rela.lbss .rela.lbss.* .rela.gnu.linkonce.lb.*)
1>.rela.dyn		: error :	   *(.rela.lrodata .rela.lrodata.* .rela.gnu.linkonce.lr.*)
1>.rela.dyn		: error :	   *(.rela.ifunc)
1>.rela.dyn		: error :	 }
1>.rela.plt		: error :
1>.rela.plt		: error :	 {
1>.rela.plt		: error :	   *(.rela.plt)
1>.rela.plt		: error :	   PROVIDE_HIDDEN (__rela_iplt_start = .);
1>.rela.plt		: error :	   *(.rela.iplt)
1>.rela.plt		: error :	   PROVIDE_HIDDEN (__rela_iplt_end = .);
1>.rela.plt		: error :	 }
1>.init			: error :
1>.init			: error :   {
1>.init			: error :	 KEEP (*(SORT_NONE(.init)))
1>.init			: error :   }
1>.plt			 : error : { *(.plt) *(.iplt) }
1>.plt.got		 : error : { *(.plt.got) }
1>.plt.sec		 : error : { *(.plt.sec) }
1>.text			: error :
1>.text			: error :   {
1>.text			: error :	 *(.text.unlikely .text.*_unlikely .text.unlikely.*)
1>.text			: error :	 *(.text.exit .text.exit.*)
1>.text			: error :	 *(.text.startup .text.startup.*)
1>.text			: error :	 *(.text.hot .text.hot.*)
1>.text			: error :	 *(.text .stub .text.* .gnu.linkonce.t.*)
1>.text			: error :	 /* .gnu.warning sections are handled specially by elf32.em.  */
1>.text			: error :	 *(.gnu.warning)
1>.text			: error :   }
1>.fini			: error :
1>.fini			: error :   {
1>.fini			: error :	 KEEP (*(SORT_NONE(.fini)))
1>.fini			: error :   }
1>.fini			: error :   PROVIDE (__etext = .);
1>.fini			: error :   PROVIDE (_etext = .);
1>.fini			: error :   PROVIDE (etext = .);
1>.rodata		  : error : { *(.rodata .rodata.* .gnu.linkonce.r.*) }
1>.rodata1		 : error : { *(.rodata1) }
1>.eh_frame_hdr  : error : { *(.eh_frame_hdr) *(.eh_frame_entry .eh_frame_entry.*) }
1>.eh_frame		: error : ONLY_IF_RO { KEEP (*(.eh_frame)) *(.eh_frame.*) }
1>.gcc_except_table	: error : ONLY_IF_RO { *(.gcc_except_table
1>.gcc_except_table	: error :   .gcc_except_table.*) }
1>.gnu_extab	: error : ONLY_IF_RO { *(.gnu_extab*) }
1>.gnu_extab	: error :   /* These sections are generated by the Sun/Oracle C++ compiler.  */
1>.exception_ranges	: error : ONLY_IF_RO { *(.exception_ranges
1>.exception_ranges	: error :   .exception_ranges*) }
1>.exception_ranges	: error :   /* Adjust the address for the data segment.  We want to adjust up to
1>.exception_ranges	: error :	  the same address within the page on the next page up.  */
1>.exception_ranges	: error :   . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE));
1>.exception_ranges	: error :   /* Exception handling  */
1>.eh_frame		: error : ONLY_IF_RW { KEEP (*(.eh_frame)) *(.eh_frame.*) }
1>.gnu_extab	   : error : ONLY_IF_RW { *(.gnu_extab) }
1>.gcc_except_table	: error : ONLY_IF_RW { *(.gcc_except_table .gcc_except_table.*) }
1>.exception_ranges	: error : ONLY_IF_RW { *(.exception_ranges .exception_ranges*) }
1>.exception_ranges	: error :   /* Thread Local Storage sections  */
1>.tdata	  : error : { *(.tdata .tdata.* .gnu.linkonce.td.*) }
1>.tbss		  : error : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
1>.preinit_array	  : error :
1>.preinit_array	  : error :   {
1>.preinit_array	  : error :	 PROVIDE_HIDDEN (__preinit_array_start = .);
1>.preinit_array	  : error :	 KEEP (*(.preinit_array))
1>.preinit_array	  : error :	 PROVIDE_HIDDEN (__preinit_array_end = .);
1>.preinit_array	  : error :   }
1>.init_array	  : error :
1>.init_array	  : error :   {
1>.init_array	  : error :	 PROVIDE_HIDDEN (__init_array_start = .);
1>.init_array	  : error :	 KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))
1>.init_array	  : error :	 KEEP (*(.init_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .ctors))
1>.init_array	  : error :	 PROVIDE_HIDDEN (__init_array_end = .);
1>.init_array	  : error :   }
1>.fini_array	  : error :
1>.fini_array	  : error :   {
1>.fini_array	  : error :	 PROVIDE_HIDDEN (__fini_array_start = .);
1>.fini_array	  : error :	 KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))
1>.fini_array	  : error :	 KEEP (*(.fini_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .dtors))
1>.fini_array	  : error :	 PROVIDE_HIDDEN (__fini_array_end = .);
1>.fini_array	  : error :   }
1>.ctors		   : error :
1>.ctors		   : error :   {
1>.ctors		   : error :	 /* gcc uses crtbegin.o to find the start of
1>.ctors		   : error :		the constructors, so we make sure it is
1>.ctors		   : error :		first.  Because this is a wildcard, it
1>.ctors		   : error :		doesn't matter if the user does not
1>.ctors		   : error :		actually link against crtbegin.o; the
1>.ctors		   : error :		linker won't look for a file to match a
1>.ctors		   : error :		wildcard.  The wildcard also means that it
1>.ctors		   : error :		doesn't matter which directory crtbegin.o
1>.ctors		   : error :		is in.  */
1>.ctors		   : error :	 KEEP (*crtbegin.o(.ctors))
1>.ctors		   : error :	 KEEP (*crtbegin?.o(.ctors))
1>.ctors		   : error :	 /* We don't want to include the .ctor section from
1>.ctors		   : error :		the crtend.o file until after the sorted ctors.
1>.ctors		   : error :		The .ctor section from the crtend file contains the
1>.ctors		   : error :		end of ctors marker and it must be last */
1>.ctors		   : error :	 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors))
1>.ctors		   : error :	 KEEP (*(SORT(.ctors.*)))
1>.ctors		   : error :	 KEEP (*(.ctors))
1>.ctors		   : error :   }
1>.dtors		   : error :
1>.dtors		   : error :   {
1>.dtors		   : error :	 KEEP (*crtbegin.o(.dtors))
1>.dtors		   : error :	 KEEP (*crtbegin?.o(.dtors))
1>.dtors		   : error :	 KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
1>.dtors		   : error :	 KEEP (*(SORT(.dtors.*)))
1>.dtors		   : error :	 KEEP (*(.dtors))
1>.dtors		   : error :   }
1>.jcr			 : error : { KEEP (*(.jcr)) }
1>.data.rel.ro  : error : { *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro .data.rel.ro.* .gnu.linkonce.d.rel.ro.*) }
1>.dynamic		 : error : { *(.dynamic) }
1>.got			 : error : { *(.got.plt) *(.igot.plt) *(.got) *(.igot) }
1>.got			 : error :   . = DATA_SEGMENT_RELRO_END (0, .);
1>.data			: error :
1>.data			: error :   {
1>.data			: error :	 *(.data .data.* .gnu.linkonce.d.*)
1>.data			: error :	 SORT(CONSTRUCTORS)
1>.data			: error :   }
1>.data1		   : error : { *(.data1) }
1>.data1		   : error :   _edata = .; PROVIDE (edata = .);
1>.data1		   : error :   . = .;
1>.data1		   : error :   __bss_start = .;
1>.bss			 : error :
1>.bss			 : error :   {
1>.bss			 : error :	*(.dynbss)
1>.bss			 : error :	*(.bss .bss.* .gnu.linkonce.b.*)
1>.bss			 : error :	*(COMMON)
1>.bss			 : error :	/* Align here to ensure that the .bss section occupies space up to
1>.bss			 : error :	   _end.  Align after .bss to ensure correct alignment even if the
1>.bss			 : error :	   .bss section disappears because there are no input sections.
1>FIXME : error : Why do we need it? When there is no .bss section, we don't
1>FIXME : error :	   pad the .data section.  */
1>. = ALIGN(. != 0 ? 64 / 8  : error : 1);
1>. = ALIGN(. != 0 ? 64 / 8  : error :   }
1>.lbss	: error :
1>.lbss	: error :   {
1>.lbss	: error :	 *(.dynlbss)
1>.lbss	: error :	 *(.lbss .lbss.* .gnu.linkonce.lb.*)
1>.lbss	: error :	 *(LARGE_COMMON)
1>.lbss	: error :   }
1>.lbss	: error :   . = ALIGN(64 / 8);
1>.lbss	: error :   . = SEGMENT_START("ldata-segment", .);
1>.lrodata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1))  : error :
1>.lrodata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1))  : error :   {
1>.lrodata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1))  : error :	 *(.lrodata .lrodata.* .gnu.linkonce.lr.*)
1>.lrodata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1))  : error :   }
1>.ldata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1))  : error :
1>.ldata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1))  : error :   {
1>.ldata   ALIGN(CONSTANT (MAXPAGESIZE)) + (. & (CONSTANT (MAXPAGESIZE) - 1))  : error :	 *(.ldata .ldata.* .gnu.linkonce.l.*)
1>. = ALIGN(. != 0 ? 64 / 8  : error : 1);
1>. = ALIGN(. != 0 ? 64 / 8  : error :   }
1>. = ALIGN(. != 0 ? 64 / 8  : error :   . = ALIGN(64 / 8);
1>. = ALIGN(. != 0 ? 64 / 8  : error :   _end = .; PROVIDE (end = .);
1>. = ALIGN(. != 0 ? 64 / 8  : error :   . = DATA_SEGMENT_END (.);
1>. = ALIGN(. != 0 ? 64 / 8  : error :   /* Stabs debugging sections.  */
1>.stab		  0  : error : { *(.stab) }
1>.stabstr	   0  : error : { *(.stabstr) }
1>.stab.excl	 0  : error : { *(.stab.excl) }
1>.stab.exclstr  0  : error : { *(.stab.exclstr) }
1>.stab.index	0  : error : { *(.stab.index) }
1>.stab.indexstr 0  : error : { *(.stab.indexstr) }
1>.comment	   0  : error : { *(.comment) }
1>.comment	   0  : error :   /* DWARF debug sections.
1>.comment	   0  : error :	  Symbols in the DWARF debugging sections are relative to the beginning
1>.comment	   0  : error :	  of the section so we begin them at 0.  */
1>.comment	   0  : error :   /* DWARF 1 */
1>.debug		  0  : error : { *(.debug) }
1>.line		   0  : error : { *(.line) }
1>.line		   0  : error :   /* GNU DWARF 1 extensions */
1>.debug_srcinfo  0  : error : { *(.debug_srcinfo) }
1>.debug_sfnames  0  : error : { *(.debug_sfnames) }
1>.debug_sfnames  0  : error :   /* DWARF 1.1 and DWARF 2 */
1>.debug_aranges  0  : error : { *(.debug_aranges) }
1>.debug_pubnames 0  : error : { *(.debug_pubnames) }
1>.debug_pubnames 0  : error :   /* DWARF 2 */
1>.debug_info	 0  : error : { *(.debug_info .gnu.linkonce.wi.*) }
1>.debug_abbrev   0  : error : { *(.debug_abbrev) }
1>.debug_line	 0  : error : { *(.debug_line .debug_line.* .debug_line_end ) }
1>.debug_frame	0  : error : { *(.debug_frame) }
1>.debug_str	  0  : error : { *(.debug_str) }
1>.debug_loc	  0  : error : { *(.debug_loc) }
1>.debug_macinfo  0  : error : { *(.debug_macinfo) }
1>.debug_macinfo  0  : error :   /* SGI/MIPS DWARF 2 extensions */
1>.debug_weaknames 0  : error : { *(.debug_weaknames) }
1>.debug_funcnames 0  : error : { *(.debug_funcnames) }
1>.debug_typenames 0  : error : { *(.debug_typenames) }
1>.debug_varnames  0  : error : { *(.debug_varnames) }
1>.debug_varnames  0  : error :   /* DWARF 3 */
1>.debug_pu
.


I am not sure why it has issues, could someone help me with this issue?
I can compile via SSH but not when I try it with visual studio.
 
Last edited:

runeazn

Dabbler
Joined
Mar 29, 2018
Messages
21
No, I gave up. I think it has something to do with missing libraries on Freenas/FreeBSD.
 
Status
Not open for further replies.
Top