Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUbuntu 12.10 x64 Build failure due to cc linking issue #339
Comments
|
Does the problem go away if you change https://github.com/mozilla-servo/rust-mozjs/blob/master/Makefile.in#L7 to use += instead of ?= and then run |
|
This is a regression from @pcwalton's recent fix. The line should be |
|
I experienced same linking failure; after |
|
same linking failure; after the same fix as klutzy, it allows me to build. (using fedora 17 x64). But when I tested the about page, I got "SkFontHost::OpenStream failed opening 1" with a blank blue window opened. the make check process told me that there were unresolved names like Cell and unwrap.. still no luck to display any text in the opened window. and when I tried to test other pages, I got a memory leak message as follows: ./servo ../src/test/test_close.htmlleaked memory in rust main loop (6 objects) |
|
When I re-run configure with that fix, it changes the += back to a ?=. |
|
@hgentry I had the same problem; you have to run |
|
Thanks! That made it stop changing it. I'll update when the build finishes/fails. Edit: Build now finishes! I wind up with this when I give it about-mozilla.html:
It looks like the problems with make check are covered in #340 . I'll see what I can find about the doom blue. |
|
The weird font results are probably the result of you missing Times New Roman. Can you install that and try again? Currently servo is not falling back on fonts correctly. |
|
re: Debian GNU/Linux 6.0 ../configure --disable-manage-submodules same linking failure: /var/servo/build# make && make check error: aborting due to previous error |
|
@xspager You'll have to install the Microsoft fonts. The package name is ttf-mscorefonts-installer. |
|
I'm new to open source contribution, but since it's a one-character fix, would it be a faux pas for me to go ahead and submit a pull request with a fix for this? |
|
I already fixed the problem, but haven't had a change to update the servo submodule to the latest rust-mozjs revision. Please feel free to submit a pull request doing that! |
|
Should be fixed now. |
|
@hgentry re: The package name is ttf-mscorefonts-installer Do you know the package name for Debian? Package ttf-mscorefonts-installer is not available, but is referred to by another package. |
|
I don't, but according to Debian it is available here: http://packages.debian.org/sid/ttf-mscorefonts-installer |
|
@ricklyman, you need |
|
@sanxiyn: Thanks, It lives... On Wed, Apr 10, 2013 at 2:24 AM, Seo Sanghyeon notifications@github.comwrote:
|
Removed vendor prefixes in user timing tests
Switch 3d transform shaders to be features, rather than separate shaders. This doesn't change any existing functionality, but makes adding 3d transform support for other primitives much simpler and more maintainable. Also clean up the renderer code for each primitive type into a generic method. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/339) <!-- Reviewable:end -->



error: linking withccfailed with code 1 note: cc arguments: -L/home/hgentry/dev/servo/build/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -m64 -o libjs-94839cbfe144198-0.1.so libjs.o -L/home/hgentry/dev/servo/build/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -lcore-c3ca5d77d81b46c1-0.6 -L/home/hgentry/dev/servo/build/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -lstd-4782a756585a81-0.6 -lpthread -L. -ljs_static -lstdc++ -lz -lrustrt -lrt -lpthread -L/home/hgentry/dev/servo/build/src/mozjs -ljsglue -shared -lrt -ldl -lm -lmorestack -lrustrt -Wl,-rpath,$ORIGIN/../rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/home/hgentry/dev/servo/build/src/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib -Wl,-rpath,/usr/local/lib/rustc/x86_64-unknown-linux-gnu/lib note: /usr/bin/ld: ./libjsglue.a(jsglue.o): relocation R_X86_64_32S against.rodata' can not be used when making a shared object; recompile with -fPIC`