Opened 7 years ago
Closed 6 years ago
#14055 closed bug (fixed)
webkit-rebased build fails with error on x86_64
Reported by: | vidrep | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/WebPositive | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This probably isn't the right place for this, but if a quick answer can be found that can help others, then maybe it's OK.
Attempting to build webkit-rebased on either x86_gcc2h or x86_64 fails with errors. The README.markdown was followed. "Configuring your build for the first time" finishes OK in both cases. It is during "make -j4" that it fails. Logs of each attached.
Attachments (6)
Change History (15)
by , 7 years ago
Attachment: | webkit-rebased_x86_64.txt added |
---|
by , 7 years ago
Attachment: | webkit-rebased_x86_gcc2h.txt added |
---|
comment:1 by , 7 years ago
comment:2 by , 7 years ago
WebKit-rebased built and working on 64 bit. I'll post any further comments here if issues arise.
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 7 years ago
Re-opening this ticket just for the sake of not creating another ticket for the same problem.
Build webkit-rebased on sources current as of May 1, 2018.
hrev51912 x86_64
Attached build logs for the following:
build-webkit --haiku, make -j4, make -j4 HaikuLauncher
by , 7 years ago
Attachment: | build-webkit_haiku.txt added |
---|
by , 7 years ago
Attachment: | webkit_make.txt added |
---|
by , 7 years ago
Attachment: | webkit_HaikuLauncher.txt added |
---|
comment:5 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:6 by , 7 years ago
I have also attached the result of the attempt to build webkit from the new recipe on 64 bit
by , 7 years ago
Attachment: | haikuwebkit_recipe.txt added |
---|
comment:7 by , 7 years ago
Basically all of them are the same problem:
x86_64-unknown-haiku/bin/ld: ImageDiff.cpp.o: relocation R_X86_64_PC32 against symbol `_Z6workerPv' can not be used when making a shared object; recompile with -fPIC
Anyone with some knowledge about x86_64 can explain? I thought -fPIC was the default on Haiku, and this happens when building an executable:
/bin/c++ -fdiagnostics-color=always -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -O3 -DNDEBUG -frtti Tools/ImageDiff/CMakeFiles/ImageDiff.dir/haiku/ImageDiff.cpp.o -o bin/ImageDiff -lbe -ltranslation
comment:8 by , 7 years ago
Summary: | webkit-rebased build fails with error → webkit-rebased build fails with error on x86_64 |
---|
comment:9 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
x86_64 build has been fixed.
1) Please try again with the current sources, I just pushed changes moments ago (commit afb9e4fc42a) and tried a clean build with these, it worked fine.
2) Usually I don't use make, because ninja provide faster builds. So follow the instructions about installing ninja, delete the WebKitBuild/Release directory and start over (ninja is detected automatically when available). The README should be adjusted to put info about ninja before the line to build things, because it seems people don't read through the whole file before starting to run commands :)