Project

General

Profile

Actions

Bug #2530

closed

Fails to compile on CssParser.o

Added by Bud T almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
01/01/2014
Due date:
% Done:

0%

Estimated time:

Description

Installing 3.3.1 on Fedora 17 failed. I have previously installed 3.2.1 on same (yum updated) image of Fedora 17 without errors, using same installation commands, except with boost 1.54 previously. Using boost 1.55 now.

[ 65%] Building CXX object src/CMakeFiles/wt.dir/Wt/Render/CssData_p.o
[ 65%] Building CXX object src/CMakeFiles/wt.dir/Wt/Render/CssParser.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [src/CMakeFiles/wt.dir/Wt/Render/CssParser.o] Error 4
make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2
make: *** [all] Error 2
Actions #1

Updated by Bud T almost 11 years ago

Ran make again using

make -B -i

Other errors were generated and ignored, including:

...
[ 78%] Building CXX object src/CMakeFiles/wt.dir/Wt/FontSupportPango.o
Linking CXX shared library libwt.so
c++: error: CMakeFiles/wt.dir/Wt/Render/CssParser.o: No such file or directory
[ 78%] Built target wt
Scanning dependencies of target wttest
[ 78%] Building CXX object src/CMakeFiles/wttest.dir/Wt/Test/WTestEnvironment.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `src/libwttest.so.3.3.1'.  Stop.
[ 78%] Built target wttest
Scanning dependencies of target test
...
[ 86%] Building CXX object test/CMakeFiles/test.dir/paintdevice/WRasterTest.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `test/test'.  Stop.
[ 86%] Built target test
Scanning dependencies of target wtdbo
[ 86%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/ptr.o
...
[ 89%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/WtSqlTraits.o
Linking CXX shared library libwtdbo.so
[ 89%] Built target wtdbo
Scanning dependencies of target wtdbopostgres
[ 90%] Building CXX object src/Wt/Dbo/backend/CMakeFiles/wtdbopostgres.dir/Postgres.o
Linking CXX shared library libwtdbopostgres.so
[ 90%] Built target wtdbopostgres
Scanning dependencies of target test.postgres
[ 90%] Building CXX object test/CMakeFiles/test.postgres.dir/test.o
...
[ 92%] Building CXX object test/CMakeFiles/test.postgres.dir/private/DboImplTest.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `test/test.postgres'.  Stop.
[ 92%] Built target test.postgres
Scanning dependencies of target wtdbosqlite3
[ 92%] Building CXX object src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/Sqlite3.o
...
[ 92%] Building C object src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/amalgamation/sqlite3.o
Linking CXX shared library libwtdbosqlite3.so
[ 92%] Built target wtdbosqlite3
Scanning dependencies of target test.sqlite3
[ 92%] Building CXX object test/CMakeFiles/test.sqlite3.dir/test.o
...
[ 93%] Building CXX object test/CMakeFiles/test.sqlite3.dir/private/DboImplTest.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `test/test.sqlite3'.  Stop.
[ 93%] Built target test.sqlite3
Scanning dependencies of target wtfcgi
[ 93%] Building CXX object src/fcgi/CMakeFiles/wtfcgi.dir/FCGIRecord.o
...
[ 95%] Building CXX object src/fcgi/CMakeFiles/wtfcgi.dir/WServer.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `src/fcgi/libwtfcgi.so.3.3.1'.  Stop.
[ 95%] Built target wtfcgi
Scanning dependencies of target wthttp
[ 95%] Building CXX object src/http/CMakeFiles/wthttp.dir/Android.o
...
[100%] Building CXX object src/http/CMakeFiles/wthttp.dir/WtReply.o
make[2]: *** No rule to make target `src/libwt.so.3.3.1', needed by `src/http/libwthttp.so.3.3.1'.  Stop.
[100%] Built target wthttp
[root@st build]#
Actions #2

Updated by Bud T almost 11 years ago

I was able to compile Wt-3.3.0 without these errors on the same machine without any other changes. Something seems to be wrong with 3.3.1.

Actions #3

Updated by Koen Deforche almost 11 years ago

  • Status changed from New to Feedback

Hey,

That must be a compiler bug, you should report it redhat or upstream to GCC (and/or boost). What compiler version is this?

If you really must build Wt with this compiler+boost version, then you can disable the boost::spirit code responsible for this, you can add WT_NO_SPIRIT to the CXXFLAGS.

(You'll lose CSS parsing and JSON parsing functionality)

Regards,

koen

Actions #4

Updated by Stefan Ruppert over 10 years ago

Hi,

I also ran into that problem. Compiling CssParser of Wt-3.3.1 needs more memory compared to wt-3.3.0 and earlier versions. I increased the memory of our build VMs up to 5GB for 64-bit and 3GB for 32-bit and it compiles fine!

Regards,

Stefan

Actions #5

Updated by Koen Deforche about 10 years ago

  • Status changed from Feedback to Resolved
  • Assignee set to Koen Deforche

Newer gcc/CLang versions no longer have this memory issue, but nevertheless it's not a good idea to build on memory-constrained platforms (use cross-compilation if necessary).

Actions #6

Updated by Koen Deforche about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF