Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 4958] New: Qt 4.7.4 build crashes with Linux 2.6.29
Date: Wed, 21 Mar 2012 10:54:00 +0000 (UTC)	[thread overview]
Message-ID: <bug-4958-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=4958

              Host: x86_64
            Target: arm
           Summary: Qt 4.7.4 build crashes with Linux 2.6.29
           Product: buildroot
           Version: 2012.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: jeremie.scheer at armadeus.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


I'm using Linux 2.6.29.6 kernel and headers and I compile rootfs for ARM.

When Qt is being compiled, it crashed on this error:

linking ../../lib/libQtNetwork.so.4.7.4
.obj/debug-shared-emb-arm/qnativesocketengine_unix.o: In function
`qt_safe_accept':
/srv/developpements/armadeus_4-1/buildroot/output/build/qt-4.7.4/src/network/../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h:121:
undefined reference to `accept4'
.obj/debug-shared-emb-arm/qlocalserver_unix.o: In function `qt_safe_accept':
/srv/developpements/armadeus_4-1/buildroot/output/build/qt-4.7.4/src/network/socket/qnet_unix_p.h:121:
undefined reference to `accept4'
collect2: ld returned 1 exit status
make[3]: *** [../../lib/libQtNetwork.so.4.7.4] Error 1
make[3]: Leaving directory
`/srv/developpements/armadeus_4-1/buildroot/output/build/qt-4.7.4/src/network'
make[2]: *** [sub-network-make_default-ordered] Error 2
make[2]: Leaving directory
`/srv/developpements/armadeus_4-1/buildroot/output/build/qt-4.7.4'
make[1]: ***
[/srv/developpements/armadeus_4-1/buildroot/output/build/qt-4.7.4/.stamp_built]
Error 2
make[1]: Leaving directory `/srv/developpements/armadeus_4-1/buildroot'
make: *** [all] Error 2

The problem is that the function 'accept4' doesn't exist in Linux 2.6.29. It is
only defined in Linux 2.6.36 or more.
So when I rebuild all rootfs and Qt against Linux 2.6.38.8, it finished
successfully.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

             reply	other threads:[~2012-03-21 10:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 10:54 bugzilla at busybox.net [this message]
2012-03-21 12:27 ` [Buildroot] [Bug 4958] Qt 4.7.4 build crashes with Linux 2.6.29 bugzilla at busybox.net
2012-03-21 14:40 ` bugzilla at busybox.net
2012-03-21 14:43 ` bugzilla at busybox.net
2012-03-21 22:16 ` bugzilla at busybox.net
2012-04-23 21:54 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-4958-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox