Closed Bug 271328 Opened 20 years ago Closed 20 years ago

When building a G4 optimized build it stops building with errors.

Categories

(Calendar :: General, defect)

PowerPC
macOS
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 220856

People

(Reporter: craigwd_2000, Assigned: mostafah)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041110 Firefox/1.0 (PowerBook)
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041110 Firefox/1.0 (PowerBook)

When building a G4 optimized build it stops building with errors.  I'm using
XCode Tools 1.5 with Fink and all depencies installed.  I've included my .mozconfig.

Reproducible: Always
Steps to Reproduce:
1. Get source code from CVS.
2. Build from source


Actual Results:  
Sunbird fails to build.

Expected Results:  
Sunbird should build.
My .mozconfig, I renamed it so it would be possible to upload it.
I got these errors when attempting to build the latest .2 branch build of
Sunbird: ld: Undefined symbols:
non-virtual thunk to DeviceContextImpl::QueryInterface(nsID const&, void**)
non-virtual thunk to DeviceContextImpl::AddRef()
non-virtual thunk to DeviceContextImpl::Observe(nsISupports*, char const*,
unsigned short const*)
non-virtual thunk to DeviceContextImpl::Release()
non-virtual thunk to DeviceContextImpl::QueryInterface(nsID const&, void**)
non-virtual thunk to DeviceContextImpl::AddRef()
non-virtual thunk to DeviceContextImpl::Release()
non-virtual thunk to nsPrintOptions::QueryInterface(nsID const&, void**)
non-virtual thunk to nsPrintOptions::GetNewPrintSettings(nsIPrintSettings**)
non-virtual thunk to nsPrintOptions::GetDefaultPrinterName(unsigned short**)
non-virtual thunk to nsPrintOptions::GetGlobalPrintSettings(nsIPrintSettings**)
non-virtual thunk to nsPrintOptions::SavePrintSettingsToPrefs(nsIPrintSettings*,
int, unsigned int)
non-virtual thunk to
nsPrintOptions::InitPrintSettingsFromPrefs(nsIPrintSettings*, int, unsigned int)
non-virtual thunk to nsPrintOptions::InitPrintSettingsFromPrinter(unsigned short
const*, nsIPrintSettings*)
non-virtual thunk to nsPrintOptions::AddRef()
non-virtual thunk to nsPrintOptions::Release()
make[5]: *** [libgfx_mac.dylib] Error 1
make[5]: Leaving directory `/Users/craigdavis/mozilla/gfx/src/mac'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/Users/craigdavis/mozilla/gfx/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/Users/craigdavis/mozilla/gfx'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/Users/craigdavis/mozilla'
make[1]: *** [alldep] Error 2
make[1]: Leaving directory `/Users/craigdavis/mozilla'
make: *** [alldep] Error 2
make: Leaving directory `/Users/craigdavis/mozilla'.
I got these errors when attempting to build the latest .2 branch build of
Sunbird: ld: Undefined symbols:
non-virtual thunk to DeviceContextImpl::QueryInterface(nsID const&, void**)
non-virtual thunk to DeviceContextImpl::AddRef()
non-virtual thunk to DeviceContextImpl::Observe(nsISupports*, char const*,
unsigned short const*)
non-virtual thunk to DeviceContextImpl::Release()
non-virtual thunk to DeviceContextImpl::QueryInterface(nsID const&, void**)
non-virtual thunk to DeviceContextImpl::AddRef()
non-virtual thunk to DeviceContextImpl::Release()
non-virtual thunk to nsPrintOptions::QueryInterface(nsID const&, void**)
non-virtual thunk to nsPrintOptions::GetNewPrintSettings(nsIPrintSettings**)
non-virtual thunk to nsPrintOptions::GetDefaultPrinterName(unsigned short**)
non-virtual thunk to nsPrintOptions::GetGlobalPrintSettings(nsIPrintSettings**)
non-virtual thunk to nsPrintOptions::SavePrintSettingsToPrefs(nsIPrintSettings*,
int, unsigned int)
non-virtual thunk to
nsPrintOptions::InitPrintSettingsFromPrefs(nsIPrintSettings*, int, unsigned int)
non-virtual thunk to nsPrintOptions::InitPrintSettingsFromPrinter(unsigned short
const*, nsIPrintSettings*)
non-virtual thunk to nsPrintOptions::AddRef()
non-virtual thunk to nsPrintOptions::Release()
make[5]: *** [libgfx_mac.dylib] Error 1
make[5]: Leaving directory `/Users/craigdavis/mozilla/gfx/src/mac'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/Users/craigdavis/mozilla/gfx/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/Users/craigdavis/mozilla/gfx'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/Users/craigdavis/mozilla'
make[1]: *** [alldep] Error 2
make[1]: Leaving directory `/Users/craigdavis/mozilla'
make: *** [alldep] Error 2
make: Leaving directory `/Users/craigdavis/mozilla'.
lilmatt builds on Mac. Maybe he can help.
Just to get the silly stuff you of the way...
You ARE using a 745x series G4, correct? These are the newer models.
Yes, that's correct.
build was successful when static link build was performed as the following
optimization options.
But similarly by the dynamic link build is not successful.

Probably, if a dynamic link is performed using the "-O3" option, I will think
that an error comes out.

optimize option: 
ac_add_options --enable-optimize="-O3 -mcpu=7400"

Mac OS X 10.3.6
There is a report probably considered to be the same problem.
https://bugzilla.mozilla.org/show_bug.cgi?id=220856
Yes, that's the same issue.

*** This bug has been marked as a duplicate of 220856 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: gurganbl → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: