#44607: apple-gcc42: don't warn about /usr/lib/crt1.o on Tiger ppc ---------------------------+------------------------- Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: tiger powerpc | Port: apple-gcc42 ---------------------------+------------------------- See comment:ticket:44268:6 for an interesting problem with apple-gcc42 on Tiger PowerPC. It seems that when doing even quite simple compiles such as those a configure script does, it produces this warning: {{{ ld: warning: object file compiled with -mlong-branch which is no longer needed. To remove this warning, recompile without -mlong-branch: /usr/lib/crt1.o }}} This warning, printed on stderr, in turn can cause an otherwise successful compilation to be interpreted by the configure script as a failure. I am assuming that the directive to "recompile without `-mlong-branch`" is supposed to be taken to mean "recompile ''/usr/lib/crt1.o'' without `-mlong-branch`", and is not talking about the small program the configure script compiled, since that compilation did not include the `-mlong- branch` flag to begin with. Is there a way that apple-gcc42 could ''not'' print that warning, at least not for system libraries like /usr/lib/crt1.o which it's not our bailiwick to fix? -- Ticket URL: <https://trac.macports.org/ticket/44607> MacPorts <http://www.macports.org/> Ports system for OS X