Closed Bug 347309 Opened 19 years ago Closed 15 years ago

Building with --enable-leaky on PPC fails

Categories

(Firefox Build System :: General, defect)

PowerPC
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: g13n, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.1b1) Gecko/20060720 BonEcho/2.0b1 Build Identifier: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.1b1) Gecko/20060720 BonEcho/2.0b1 Building Mozilla with --enable-leaky fails on powerpc (PPC) platforms because of an undefined function "CrawlStack". This is because, for PPC, the function is not defined, as per the following in tools/leaky/libmalloc.cpp (line 101): --- code --- #if defined(i386) static void CrawlStack(malloc_log_entry* me, jmp_buf jb) { // ... stuff ... #endif Either there should be a dummy entry for the function in other platforms, or a better way is to modify the configure script to flag an error indicating "leaky" is available only for x86 platforms. if [ $MOZ_LEAKY -ne 1 ] then test `uname -m` = i386 || (echo '--enable-leaky option can be set only for x86 machines' 1>&2; exit 1) fi Reproducible: Always Steps to Reproduce: 1. Try to build Mozilla with --enable-leaky on non x86 machines 2. 3. Actual Results: Compiler complains about non existing function "CrawlStack" while trying to build tools/leaky. Expected Results: configure should have warned initially and aborted indicating "leaky" cannot be built for non x86 platforms.
Product: Mozilla Application Suite → Core
Version: unspecified → Trunk
Can reporter please advise if fault still exists with recent Firefox version.
we no longer support PPC anyway. (I don't know if we still support leaky, either!)
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.