Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 12:46:13 +0800
From:      Julian Elischer <julian@freebsd.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        "ports@FreeBSD.org" <ports@freebsd.org>, Steve Wills <swills@FreeBSD.org>
Subject:   Re: compler warnings in ports not supported in gcc 4.2.1 (stable/10)
Message-ID:  <e82d83be-6126-bb8b-2a8d-be1819e4f095@freebsd.org>
In-Reply-To: <B45E9CCB-4EB9-44EA-9D06-C61C27987891@FreeBSD.org>
References:  <94cf6bd4-87ec-c405-7f5c-2347219aa928@freebsd.org> <B45E9CCB-4EB9-44EA-9D06-C61C27987891@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24/9/17 5:58 am, Dimitry Andric wrote:
> On 23 Sep 2017, at 23:42, Julian Elischer <julian@FreeBSD.ORG> wrote:
>> Trying to compile the emulators/open-vm-tools-nox11 port
>>
>> but I end up dying with:
>>
>> libtool: compile:  cc -DPACKAGE_NAME=3D\"open-vm-tools\" -DPACKAGE_TAR=
NAME=3D\"open-vm-tools\" -DPACKAGE_VERSION=3D\"10.1.5\" "-DPACKAGE_STRING=
=3D\"open-vm-tools 10.1.5\"" -DPACKAGE_BUGREPORT=3D\"open-vm-tools-devel@=
lists.sourceforge.net\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"open-vm-tools\=
" -DVERSION=3D\"10.1.5\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE=
_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D=
1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_U=
NISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\".libs/\" -DX_DISPLAY_MISSI=
NG=3D1 -DHAVE_DLOPEN=3D1 -DNO_PROCPS=3D1 -DNO_DNET=3D1 -DHAVE_INTTYPES_H=3D=
1 -DHAVE_STDINT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_WCHAR_H=3D1 -DHAVE_SYS_P=
ARAM_H=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_USER_H=3D1 -DHAVE__BOOL=3D1 =
-DHAVE_STDBOOL_H=3D1 -DHAVE_STRUCT_STAT_ST_RDEV=3D1 -DTIME_WITH_SYS_TIME=3D=
1 -DNO_XSM=3D1 -DNO_XCOMPOSITE=3D1 -DNO_MULTIMON=3D1 -I. -I/usr/ports/emu=
lators/open-vm-tools-nox11/work/open-vm-tools-stable-10.1.5/open-vm-tools=
/lib/include -I/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tool=
s-stable-10.1.5/open-vm-tools/lib/include -Wno-deprecated-declarations -i=
system /usr/local/include -DUSING_AUTOCONF=3D1 -DOPEN_VM_TOOLS -DNO_ICU -=
DVMX86_TOOLS -O2 -pipe -DPANZURA_DEV -DPZ_FBSD_10 -isystem /usr/local/inc=
lude -fno-strict-aliasing -Wall -Werror -Wno-unused-function -Wno-address=
-of-packed-member -Wno-unknown-warning-option -Wno-unused -MT nicinfo_xdr=
=2Elo -MD -MP -MF .deps/nicinfo_xdr.Tpo -c nicinfo_xdr.c  -fPIC -DPIC -o =
=2Elibs/nicinfo_xdr.o
>> cc1: error: unrecognized command line option "-Wno-address-of-packed-m=
ember"
>> cc1: error: unrecognized command line option "-Wno-unknown-warning-opt=
ion"
>> *** [nicinfo_xdr.lo] Error code 1
>>
>>
>> the system in question is compiled with gcc
>>
>>
>> is there a supported way of making the port not set those flags on eac=
h cc1 command?
> This appears to have been broken by r444773.  Try replacing
> emulators/open-vm-tools/files/patch-configure.ac with the attached file=
=2E
>
> -Dimitry
Dimitry, could you commit your fix.?=A0 I confirm it corrects the problem=
=2E






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e82d83be-6126-bb8b-2a8d-be1819e4f095>