[MacPorts] #61299: python3x: -Wno-unused-result in _sysconfigdata__darwin_darwin.py unrecognized by gcc 4.2

MacPorts noreply at macports.org
Sat Oct 10 07:39:15 UTC 2020


#61299: python3x: -Wno-unused-result in _sysconfigdata__darwin_darwin.py
unrecognized by gcc 4.2
-------------------------------------------------+-------------------------
  Reporter:  chrstphrchvz                        |      Owner:  jmroot
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.6.3
Resolution:                                      |   Keywords:
      Port:  python37 python38 python36 py-      |
  cchardet py-fann2                              |
-------------------------------------------------+-------------------------
Changes (by chrstphrchvz):

 * port:  python37 python38 python36 py-cchardet => python37 python38
     python36 py-cchardet py-fann2


Comment:

 `py38-fann2` is another example:

 {{{
 /usr/bin/gcc-4.2 -Wno-unused-result -Wsign-compare -Wunreachable-code
 -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -isysroot/
 -DSWIG_COMPILE -I./include -I../include -Iinclude
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
 -c fann2/fann2_wrap.cxx -o
 build/temp.macosx-10.6-x86_64-3.8/fann2/fann2_wrap.o
 cc1plus: error: unrecognized command line option "-Wno-unused-result"
 }}}


 Replying to [comment:2 kencu]:
 > other than bootstrapping, or a few ports needed to bootstrap clang-9.0,
 like clang-3.7, every build on 10.6.8 should be using clang-9.0 to build.

 Why is this not the case on the 10.6 builders?

-- 
Ticket URL: <https://trac.macports.org/ticket/61299#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list