#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:
Has a Patch: no 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)

webkit-rebased_x86_64.txt (676 bytes) - added by vidrep 15 months ago.
webkit-rebased_x86_gcc2h.txt (676 bytes) - added by vidrep 15 months ago.
build-webkit_haiku.txt (48.6 KB) - added by vidrep 14 months ago.
webkit_make.txt (2.8 KB) - added by vidrep 14 months ago.
webkit_HaikuLauncher.txt (162.0 KB) - added by vidrep 14 months ago.
haikuwebkit_recipe.txt (20.4 KB) - added by vidrep 14 months ago.

Download all attachments as: .zip

Change History (15)

Changed 15 months ago by vidrep

Attachment: webkit-rebased_x86_64.txt added

Changed 15 months ago by vidrep

comment:1 Changed 15 months ago by pulkomandy

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 :)

comment:2 Changed 15 months ago by vidrep

WebKit-rebased built and working on 64 bit. I'll post any further comments here if issues arise.

comment:3 Changed 14 months ago by pulkomandy

Resolution: fixed
Status: newclosed

comment:4 Changed 14 months ago by vidrep

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

Changed 14 months ago by vidrep

Attachment: build-webkit_haiku.txt added

Changed 14 months ago by vidrep

Attachment: webkit_make.txt added

Changed 14 months ago by vidrep

Attachment: webkit_HaikuLauncher.txt added

comment:5 Changed 14 months ago by vidrep

Resolution: fixed
Status: closedreopened

comment:6 Changed 14 months ago by vidrep

I have also attached the result of the attempt to build webkit from the new recipe on 64 bit

Changed 14 months ago by vidrep

Attachment: haikuwebkit_recipe.txt added

comment:7 Changed 14 months ago by pulkomandy

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 Changed 13 months ago by pulkomandy

Summary: webkit-rebased build fails with errorwebkit-rebased build fails with error on x86_64

comment:9 Changed 12 months ago by waddlesplash

Resolution: fixed
Status: reopenedclosed

x86_64 build has been fixed.

Note: See TracTickets for help on using tickets.