Error messages: /tmp/ccgtrVyI.o: In function `Color': /home/chromium/chromium/src/third_party/WebKit/WebCore/platform/ColorData.gperf:254: undefined reference to `findColor(char const*, unsigned int)' /home/chromium/chromium/src/third_party/WebKit/WebCore/platform/ColorData.gperf:254: undefined reference to `findColor(char const*, unsigned int)' collect2: ld returned 1 exit status
Command line: g++ -O0 -g Color-stripped.ii Compiler build configuration: ../configure --prefix=/usr --enable-shared \ --enable-languages=c,c++,fortran,objc,obj-c++ \ --enable-threads=posix --mandir=/usr/share/man \ --infodir=/usr/share/info \ --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib \ --libexecdir=/usr/lib --enable-clocale=gnu \ --disable-libstdcxx-pch \ --with-tune=generic The symbols resolve correctly if compiled with "-O1" or if "__attribute__ ((__gnu_inline__))" is removed from function definition. -- Summary: __attribute__ ((__gnu_inline__)) yields x86_64-unknown- linux-gnu when compiled with -O0, but not with -O1 Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hdasch at gmail dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41194