Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2017 12:40:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 220335] [PATCH] lang/python35: "cc: error: unsupported option '-print-multi-os-directory'"
Message-ID:  <bug-220335-21822-HHRqKjNEOH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220335-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220335-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
rozhuk.im@gmail.com has reassigned Bugzilla Automation <bugzilla@FreeBSD.or=
g>'s
request for maintainer-feedback to FreeBSD Python <python@FreeBSD.org>:
Bug 220335: [PATCH] lang/python35: "cc: error: unsupported option
'-print-multi-os-directory'"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220335



--- Description ---
Created attachment 183886
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183886&action=
=3Dedit
fix "cc: error: unsupported option '-print-multi-os-directory'"

If option UNSET: LIBFFI    Use libffi from ports instead of bundled version
...
LD_LIBRARY_PATH=3D/tmp/ports/usr/ports/lang/python35/work/Python-3.5.3 ./py=
thon
-E -S -m sysconfig --generate-posix-vars ; if test $? -ne 0 ; then  echo
"generate-posix-vars failed" ;	rm -f ./pybuilddir.txt ;  exit 1 ;  fi
cc -c -fPIC -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -=
O2
-msse2 -msse3 -mssse3 -msse4.1 -pipe  -Werror=3Ddeclaration-after-statement=
   -I.
-I./Include -I/usr/local/include -I/usr/local/include -fPIC -DPy_BUILD_CORE=
 -o
Modules/_math.o Modules/_math.c
/tmp/ports/usr/ports/lang/python35/work/Python-3.5.3/Modules/socketmodule.c=
:545
9:5:
warning: code will never be executed [-Wunreachable-code]
    PyErr_SetString(PyExc_RuntimeError, "invalid handling of inet_ntop");
    ^~~~~~~~~~~~~~~
1 warning generated.
cc: error: unsupported option '-print-multi-os-directory'
cc: error: no input files
/tmp/ports/usr/ports/lang/python35/work/Python-3.5.3/Modules/_ctypes/libffi=
/src
/x86/ffi64.c:224:16:
warning: comparison of integers of different signs: 'int' and 'size_t'
      (aka 'unsigned long') [-Wsign-compare]
	for (i =3D 0; i < words; i++)
		    ~ ^ ~~~~~
/tmp/ports/usr/ports/lang/python35/work/Python-3.5.3/Modules/_ctypes/libffi=
/src
/x86/ffi64.c:245:20:
warning: comparison of integers of different signs: 'int' and 'size_t'
      (aka 'unsigned long') [-Wsign-compare]
	    for (i =3D 0; i < num; i++)
			~ ^ ~~~
...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220335-21822-HHRqKjNEOH>