<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - loolwsd fails to build in 32bit"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114102">114102</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>loolwsd fails to build in 32bit
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice Online
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rene@debian.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

make[2]: Entering directory '/data/rene/tmp/online'
depbase=`echo common/Crypto.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.  -pthread
-DLOOLWSD_DATADIR='"/usr/local/share/loolwsd"'
-DLOOLWSD_CONFIGDIR='"/usr/local/etc/loolwsd"'
-DDEBUG_ABSSRCDIR='"/home/rene/tmp/online"' -I./common -I./net -I./wsd -I./kit 
-DNDEBUG -I/data/rene/tmp/online/bundled/include  -g -O2 -std=c++11 -Wall
-Wextra -Werror -Wshadow -MT common/Crypto.o -MD -MP -MF $depbase.Tpo -c -o
common/Crypto.o common/Crypto.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo wsd/Admin.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.  -pthread
-DLOOLWSD_DATADIR='"/usr/local/share/loolwsd"'
-DLOOLWSD_CONFIGDIR='"/usr/local/etc/loolwsd"'
-DDEBUG_ABSSRCDIR='"/home/rene/tmp/online"' -I./common -I./net -I./wsd -I./kit 
-DNDEBUG -I/data/rene/tmp/online/bundled/include  -g -O2 -std=c++11 -Wall
-Wextra -Werror -Wshadow -MT wsd/Admin.o -MD -MP -MF $depbase.Tpo -c -o
wsd/Admin.o wsd/Admin.cpp &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ./common/LOOLWebSocket.hpp:20:0,
                 from ./common/Unit.hpp:17,
                 from ./net/WebSocketHandler.hpp:19,
                 from wsd/AdminModel.hpp:20,
                 from wsd/Admin.hpp:15,
                 from wsd/Admin.cpp:22:
./common/Protocol.hpp: In function 'std::__cxx11::string
LOOLProtocol::getAbbreviatedMessage(const string&)':
./common/Protocol.hpp:285:93: error: no matching function for call to
'min(std::__cxx11::basic_string<char>::size_type, long unsigned int)'
         const auto pos = getDelimiterPosition(message.data(),
std::min(message.size(), 500UL), '\n');

             ^
[...]
In file included from wsd/AdminModel.hpp:20:0,
                 from wsd/Admin.hpp:15,
                 from wsd/Admin.cpp:22:
./net/WebSocketHandler.hpp: In static member function 'static int
WebSocketHandler::sendFrame(const std::shared_ptr<StreamSocket>&, const char*,
size_t, unsigned char, bool)':
./net/WebSocketHandler.hpp:359:53: error: right shift count >= width of type
[-Werror=shift-count-overflow]
             out.push_back(static_cast<char>((len >> 56) & 0xff));
                                                     ^~
./net/WebSocketHandler.hpp:360:53: error: right shift count >= width of type
[-Werror=shift-count-overflow]
             out.push_back(static_cast<char>((len >> 48) & 0xff));
                                                     ^~
./net/WebSocketHandler.hpp:361:53: error: right shift count >= width of type
[-Werror=shift-count-overflow]
             out.push_back(static_cast<char>((len >> 40) & 0xff));
                                                     ^~
./net/WebSocketHandler.hpp:362:53: error: right shift count >= width of type
[-Werror=shift-count-overflow]
             out.push_back(static_cast<char>((len >> 32) & 0xff));
                                                     ^~
cc1plus: all warnings being treated as errors
Makefile:1198: recipe for target 'wsd/Admin.o' failed
make[2]: *** [wsd/Admin.o] Error 1
make[2]: Leaving directory '/data/rene/tmp/online'
Makefile:1762: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/data/rene/tmp/online'
Makefile:755: recipe for target 'all' failed
make: *** [all] Error 2

Also reproducible on master.

Will attach the full buildlog, too, but there's no surprises there.

Regards,

Rene</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>