<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - WTF: JSCOnly port does not compile on linux"
href="https://bugs.webkit.org/show_bug.cgi?id=169492">169492</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>WTF: JSCOnly port does not compile on linux
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Web Template Framework
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>guijemont@igalia.com
</td>
</tr></table>
<p>
<div>
<pre>When attempting to build the JSCOnly port, I get the following error when trying to link libWTF.so:
FAILED: lib/libWTF.so
: && /home/guijemont/dev/metrological/buildroot-wpe/output.rpi1/host/usr/bin/arm-buildroot-linux-gnueabihf-g++ --sysroot=/home/guijemont/dev/metrological/buil
droot-wpe/output.rpi1/host/usr/arm-buildroot-linux-gnueabihf/sysroot -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-exceptions
-fno-strict-aliasing -fno-rtti -std=c++1y -O2 -g -DNDEBUG -Wno-cast-align -Wl,--no-undefined -shared -Wl,-soname,libWTF.so -o lib/libWTF.so @CMakeFiles/WTF.r
sp && :
Source/WTF/wtf/CMakeFiles/WTF.dir/MemoryPressureHandler.cpp.o: In function `WTF::MemoryPressureHandler::MemoryPressureHandler()':
/home/guijemont/dev/metrological/buildroot-wpe/output.rpi1/build/wpe-custom/build-Release/../Source/WTF/wtf/MemoryPressureHandler.cpp:56: undefined reference t
o `WTF::MemoryPressureHandler::holdOffTimerFired()'
Source/WTF/wtf/CMakeFiles/WTF.dir/MemoryPressureHandler.cpp.o: In function `WTF::MemoryPressureHandler::beginSimulatedMemoryPressure()':
/home/guijemont/dev/metrological/buildroot-wpe/output.rpi1/build/wpe-custom/build-Release/../Source/WTF/wtf/MemoryPressureHandler.cpp:177: undefined reference
to `WTF::MemoryPressureHandler::respondToMemoryPressure(WTF::Critical, WTF::Synchronous)'
Source/WTF/wtf/CMakeFiles/WTF.dir/MemoryPressureHandler.cpp.o: In function `WTF::MemoryPressureHandler::ReliefLogger::logMemoryUsageChange()':
/home/guijemont/dev/metrological/buildroot-wpe/output.rpi1/build/wpe-custom/build-Release/../Source/WTF/wtf/MemoryPressureHandler.cpp:222: undefined reference
to `WTF::MemoryPressureHandler::ReliefLogger::platformMemoryUsage()'
Source/WTF/wtf/CMakeFiles/WTF.dir/MemoryPressureHandler.cpp.o: In function `WTF::MemoryPressureHandler::releaseMemory(WTF::Critical, WTF::Synchronous)':
/home/guijemont/dev/metrological/buildroot-wpe/output.rpi1/build/wpe-custom/build-Release/../Source/WTF/wtf/MemoryPressureHandler.cpp:195: undefined reference
to `WTF::MemoryPressureHandler::platformReleaseMemory(WTF::Critical)'
Source/WTF/wtf/CMakeFiles/WTF.dir/MemoryPressureHandler.cpp.o: In function `WTF::MemoryPressureHandler::ReliefLogger::ReliefLogger(char const*)':
/home/guijemont/dev/metrological/buildroot-wpe/output.rpi1/build/wpe-custom/build-Release/../Source/WTF/wtf/MemoryPressureHandler.h:96: undefined reference to
`WTF::MemoryPressureHandler::ReliefLogger::platformMemoryUsage()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>