Bug 16293 - WebKit fails to build on Linux/PPC with gcc 4.2.2
Summary: WebKit fails to build on Linux/PPC with gcc 4.2.2
Status: RESOLVED DUPLICATE of bug 14521
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (PowerPC) Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 10:32 PST by Patryk Zawadzki
Modified: 2007-12-11 05:19 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patryk Zawadzki 2007-12-04 10:32:52 PST
ppc-pld-linux-g++ -c -pipe -D_REENTRANT -D_REENTRANT -I/usr/include -O2 -fno-strict-aliasing -fwrapv -fsigned-char -fno-strict-aliasing -gdwarf-2 -g2 -Wall -W -DBUILDING_GTK__ -I/usr/share/qt4/mkspecs/linux-g++ -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore/bindings -I../../../../JavaScriptCore/bindings/c -I../../../../JavaScriptCore/wtf -Itmp -I../../../../JavaScriptCore -I../../../../JavaScriptCore/kjs -I../../../../JavaScriptCore/bindings -I../../../../JavaScriptCore/bindings/c -I../../../../JavaScriptCore/wtf -I../../../../JavaScriptCore/pcre -Itmp -I../../../../JavaScriptCore/kjs -I. -o tmp/TCSystemAlloc.o ../../../../JavaScriptCore/wtf/TCSystemAlloc.cpp
../../../../JavaScriptCore/wtf/TCSpinLock.h: In function 'void* TCMalloc_SystemAlloc(size_t, size_t*, size_t)':
../../../../JavaScriptCore/wtf/TCSpinLock.h:107: error: 'asm' operand requires impossible reload
Comment 1 Patryk Zawadzki 2007-12-04 10:33:31 PST
Forgot to mention, this is r28383
Comment 2 Mark Rowe (bdash) 2007-12-04 11:33:37 PST

*** This bug has been marked as a duplicate of 14521 ***
Comment 3 Patryk Zawadzki 2007-12-04 15:33:17 PST
This shouldn't be marked as duplicate as it seems to be a regression. r27953 completed a full build while r26865 did not. Now it's failing again with r28383.
Comment 4 David Kilzer (:ddkilzer) 2007-12-04 21:11:33 PST
(In reply to comment #3)
> This shouldn't be marked as duplicate as it seems to be a regression. r27953
> completed a full build while r26865 did not. Now it's failing again with
> r28383.

Sounds like gcc is generating different code based on other changes in JavaScriptCore.  (Care to do a binary search of svn revisions to find the cause?)  Does the same fix in Bug 14521 work for r28383?

Comment 5 Patryk Zawadzki 2007-12-11 05:19:03 PST
For your information, r28565 built fine just a minute ago. I don't have enough computing power to do a full bisect and find the offending changes though.