[Buildroot] [autobuild.buildroot.net] Build results for 2018-10-07

Peter Seiderer ps.report at gmx.net
Tue Oct 9 17:37:29 UTC 2018


Hello,

On Mon, 8 Oct 2018 20:39:26 +0200, Peter Seiderer <ps.report at gmx.net> wrote:

> On Mon,  8 Oct 2018 08:00:13 +0200 (CEST), Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:
> 
> > Hello,
> > 
> > Build statistics for 2018-10-07
> > ===============================
> > 
> 
> [...]
> 
> > Results for branch 'master'
> > ===========================
> 
> >         i686 |                 qt5base-5.11.2 | NOK | http://autobuild.buildroot.net/results/66f55a311dcf9d54ca6148b232287973ba226999 |     
> >         i686 |                 qt5base-5.11.2 | NOK | http://autobuild.buildroot.net/results/a4759e8cea09a597dbeb82f6c673ddc531d419e8 |     
> 
> Both fail with:
> 
> .obj/qlinuxfbscreen.o: In function `QLinuxFbScreen::initialize()':
> qlinuxfbscreen.cpp:(.text+0xa6c): undefined reference to `qt_open64(char const*, int, unsigned int)'
> qlinuxfbscreen.cpp:(.text+0x1042): undefined reference to `qt_open64(char const*, int, unsigned int)'
> qlinuxfbscreen.cpp:(.text+0x10aa): undefined reference to `qt_open64(char const*, int, unsigned int)'
> qlinuxfbscreen.cpp:(.text+0x1746): undefined reference to `qt_open64(char const*, int, unsigned int)'
> 
> I suspect this qt  commit 'Linux: Bypass glibc's broken open() implementation' ([1]), which introduced
> the qt_open64() function, but did not see immediately why it fails here (uclibc?)...
> 

Can be fixed by the following patch:

	$ diff -u src/corelib/kernel/qcore_unix_p.h_orig src/corelib/kernel/qcore_unix_p.h
--- src/corelib/kernel/qcore_unix_p.h_orig      2018-10-09 19:23:04.124549682 +0200
+++ src/corelib/kernel/qcore_unix_p.h   2018-10-09 19:23:24.968914458 +0200
@@ -178,7 +178,7 @@

 #if defined(Q_PROCESSOR_X86_32) && defined(__GLIBC__)
 #  if !__GLIBC_PREREQ(2, 22)
-int qt_open64(const char *pathname, int flags, mode_t);
+Q_CORE_EXPORT int qt_open64(const char *pathname, int flags, mode_t);
 #    undef QT_OPEN
 #    define QT_OPEN qt_open64
 #  endif

Proper buildroot patch will follow (after upstream bug report/change request)...

Regards,
Peter

> Regards,
> Peter
> 
> [1] http://code.qt.io/cgit/qt/qtbase.git/commit/?id=1d33493989eae774bafc124f9d3ee68d7a017a10
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list