Page MenuHomeFreeBSD

Unbreak openoffice-4 build with gcc 4.9
ClosedPublic

Authored by truckman on Feb 6 2015, 9:55 PM.
Tags
None
Referenced Files
F152003283: D1792.id3673.diff
Sun, Apr 12, 1:12 AM
Unknown Object (File)
Wed, Apr 8, 6:13 AM
Unknown Object (File)
Wed, Mar 25, 10:13 PM
Unknown Object (File)
Sun, Mar 15, 11:23 PM
Unknown Object (File)
Feb 28 2026, 10:25 AM
Unknown Object (File)
Jan 24 2026, 10:03 PM
Unknown Object (File)
Jan 15 2026, 5:18 AM
Unknown Object (File)
Jan 14 2026, 7:39 AM
Subscribers
None

Details

Reviewers
pfg
mat
Summary

When building openoffice-4 with gcc 4.9, the build fails with
link errors because of some inline class methods that gcc
thinks are undefined. This only happens when the .o file are
compiled with -Os. Changing to -O0 fixes the problem

Test Plan

Build and run with both gcc 4.8 and gcc 4.9.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

truckman retitled this revision from to Unbreak openoffice-4 build with gcc 4.9.
truckman updated this object.
truckman edited the test plan for this revision. (Show Details)
truckman added reviewers: mat, pfg.
mat edited edge metadata.
This revision is now accepted and ready to land.Feb 7 2015, 1:09 AM