I've found that building a debug rather than a release version of the package uses "-O0" in CFLAGS_Debug. This leads gcc (at least as of version 4.4.1) to ignore the lookup functions generated by gperf.
The "__attribute__ ((__gnu_inline__))" notation generated by gperf tells gcc that it's safe to ignore the inline request. It does ignore the inline functions, expecting them to be compiled elsewhere. Removing "__attribute__ ((__gnu_inline__))" or changing src/webkit/ webcore.mk (s/-O0/-O1/) does work around the issue. Hugh On Aug 31, 9:59 am, Evan Martin <[email protected]> wrote: > If you do figure this out, please let me know and we'll make the build > system complain with a more useful error message. > In the past these sorts of issues have come from missing tools that > webkit needs; did you check the build requirements carefully? You > might have to start the build over from scratch, too, if you installed > some requirement after you began building. > > On Aug 19, 11:38 am, Andrew Nixon <[email protected]> wrote: > > > I have been trying to compile chromium as per the new information for > > 64bit builds on ArchLinuxand have come to the linking of chrome and > > am given these errors. > > > LINK /home/andrew/code/chromium/src/out/Debug/obj/chrome/chrome > > /home/andrew/code/chromium/src/out/Debug/obj/webkit/libwebcore.a > > (HTMLTokenizer.o): In function `WebCore::HTMLTokenizer::parseEntity > > (WebCore::SegmentedString&, unsigned short*&, > > WebCore::HTMLTokenizer::State, unsigned int&, bool, bool)': > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/html/ > > HTMLTokenizer.cpp:836: undefined reference to `findEntity(char const*, > > unsigned int)' > > /home/andrew/code/chromium/src/out/Debug/obj/webkit/libwebcore.a > > (HTMLTokenizer.o): In function `WebCore::decodeNamedEntity(char > > const*)': > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/html/ > > HTMLTokenizer.cpp:2080: undefined reference to `findEntity(char > > const*, unsigned int)' > > /home/andrew/code/chromium/src/out/Debug/obj/webkit/libwebcore.a > > (PreloadScanner.o): In function `WebCore::PreloadScanner::consumeEntity > > (WebCore::SegmentedString&, bool&)': > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/html/ > > PreloadScanner.cpp:261: undefined reference to `findEntity(char > > const*, unsigned int)' > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/html/ > > PreloadScanner.cpp:269: undefined reference to `findEntity(char > > const*, unsigned int)' > > /home/andrew/code/chromium/src/out/Debug/obj/webkit/libwebcore.a > > (Color.o): In function `Color': > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/platform/ > > graphics/Color.cpp:174: undefined reference to `findColor(char const*, > > unsigned int)' > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/platform/ > > graphics/Color.cpp:174: undefined reference to `findColor(char const*, > > unsigned int)' > > /home/andrew/code/chromium/src/out/Debug/obj/webkit/libwebcore.a > > (Color.o): In function `WebCore::findNamedColor(WebCore::String > > const&)': > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/platform/ > > graphics/Color.cpp:201: undefined reference to `findColor(char const*, > > unsigned int)' > > /home/andrew/code/chromium/src/out/Debug/obj/webkit/libwebcore.a > > (CSSParser.o): In function `WebCore::cssPropertyID(unsigned short > > const*, unsigned int)': > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/css/ > > CSSParser.cpp:5109: undefined reference to `findProp(char const*, > > unsigned int)' > > /home/andrew/code/chromium/src/out/Debug/obj/webkit/libwebcore.a > > (CSSParser.o): In function `WebCore::cssValueKeywordID > > (WebCore::CSSParserString const&)': > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/css/ > > CSSParser.cpp:5151: undefined reference to `findValue(char const*, > > unsigned int)' > > /home/andrew/code/chromium/src/out/Debug/obj/webkit/libwebcore.a > > (HTMLDocument.o): In function > > `WebCore::HTMLDocument::determineParseMode()': > > /home/andrew/code/chromium/src/third_party/WebKit/WebCore/html/ > > HTMLDocument.cpp:379: undefined reference to `findDoctypeEntry(char > > const*, unsigned int)' > > collect2: ld returned 1 exit status > > make: *** [/home/andrew/code/chromium/src/out/Debug/obj/chrome/chrome] > > Error 1 > > > Doing some research online suggests that other arch users have had > > this problem with webkit compilations in the last couple of weeks > > however there was no solution suggested on the list. Has anyone else > > had these type of issues, i can't imagine its a dependancy issue as i > > have midori working fine. --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
