Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 4892] New: build fails on ltp-testsuite-20101031/testcases/kernel/fs/ftest/ftest04.c:146: undefined reference to `sigset'
@ 2012-03-08  2:20 bugzilla at busybox.net
  2012-03-08  8:24 ` [Buildroot] [Bug 4892] " bugzilla at busybox.net
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2012-03-08  2:20 UTC (permalink / raw)
  To: buildroot

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

           Summary: build fails on
                    ltp-testsuite-20101031/testcases/kernel/fs/ftest/ftest
                    04.c:146: undefined reference to `sigset'
           Product: buildroot
           Version: 2012.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: austinenglish at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 4112
  --> https://bugs.busybox.net/attachment.cgi?id=4112
.config used

/home/austin/buildroot-2012.02/output/host/usr/bin/i586-unknown-linux-uclibc-gcc
  -L../../../../lib  ftest04.o libftest.o   -lltp -o ftest04
ftest04.o: In function `setup':
/home/austin/buildroot-2012.02/output/build/ltp-testsuite-20101031/testcases/kernel/fs/ftest/ftest04.c:146:
undefined reference to `sigset'

not sure what other info is useful. Running on 32-bit gentoo linux. I've
attached the .config file.

Please let me know what other information would be useful:
austin at aw25 ~/buildroot-2012.02 $ gcc --version
gcc (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

austin at aw25 ~/buildroot-2012.02 $ uname -a
Linux aw25 2.6.37 #1 SMP Thu Apr 21 17:36:51 PDT 2011 i686 Intel(R) Core(TM) i7
CPU 960 @ 3.20GHz GenuineIntel GNU/Linux

-- 
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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] [Bug 4892] build fails on ltp-testsuite-20101031/testcases/kernel/fs/ftest/ftest04.c:146: undefined reference to `sigset'
  2012-03-08  2:20 [Buildroot] [Bug 4892] New: build fails on ltp-testsuite-20101031/testcases/kernel/fs/ftest/ftest04.c:146: undefined reference to `sigset' bugzilla at busybox.net
@ 2012-03-08  8:24 ` bugzilla at busybox.net
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2012-03-08  8:24 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-03-08 08:24:59 UTC ---
Thanks for your bug report.

The help text of the ltp-testsuite package says:

"""
          The LTP testsuite uses several functions that are considered
          obsolete, such as sigset() and others. Therefore, the LTP
          testsuite does not build with Buildroot's default uClibc
          configuration, and options such as
          UCLIBC_HAS_OBSOLETE_BSD_SIGNAL are needed.
"""

So, it is well-known that ltp-testsuite doesn't build with our default uClibc
configuration. You must add the uCLIBC_HAS_OBSOLETE_BSD_SIGNAL option to it. So
you should do:

make clean
make uclibc-menuconfig
# add the UCLIBC_HAS_OBSOLETE_BSD_SIGNAL option
make

and then it should work.

A good improvement would be to adapt ltp-testsuite so that if sigset() isn't
available, it doesn't try to use it.

-- 
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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-08  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08  2:20 [Buildroot] [Bug 4892] New: build fails on ltp-testsuite-20101031/testcases/kernel/fs/ftest/ftest04.c:146: undefined reference to `sigset' bugzilla at busybox.net
2012-03-08  8:24 ` [Buildroot] [Bug 4892] " bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox