#37839: webkit-gtk: ld: scattered reloc r_address too large ---------------------------+------------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: powerpc haspatch Port: webkit-gtk | ---------------------------+------------------------------ Changes (by ryandesign@…): * cc: fmw@… (added) * status: closed => reopened * resolution: fixed => Comment: optflags.patch just makes the build system respect the optimization flags MacPorts sets. MacPorts by default sets optimization flags to -O2, and in r102318 we changed them to -Os only for PowerPC build systems, since building for Intel didn't need it. But based on your report it seems it's needed even when building the ppc part on an Intel build system. Jeremy, should we just set optflags to -Os on all systems? We could also restrict it to when ppc is in universal_archs, but it might be simpler and reduce differences between platforms if we used -Os always. -- Ticket URL: <https://trac.macports.org/ticket/37839#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS