Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
@ 2010-08-11 18:55 bugzilla at busybox.net
  2010-08-11 19:15 ` [Buildroot] [Bug 2401] " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-08-11 18:55 UTC (permalink / raw)
  To: buildroot

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

           Summary: sysvinit-2.86 fails to build on MIPS because is
                    missing -lcrypt
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: sergio at sergiomb.no-ip.org
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


with buildroot git version from today . 
same config of bug #635 (https://bugs.busybox.net/attachment.cgi?id=2269)

buildroot/output/staging/usr/bin/mipsel-unknown-linux-uclibc-gcc
--sysroot=buildroot/output/staging  -o bootlogd bootlogd.o -lutil
sulogin.o: In function `main':
sulogin.c:(.text+0xf94): undefined reference to `crypt'
collect2: ld returned 1 exit status
make[1]: *** [sulogin] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `buildroot/output/build/sysvinit-2.86/src'
make: *** [buildroot/output/build/sysvinit-2.86/src/init] Error 2

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
  2010-08-11 18:55 [Buildroot] [Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt bugzilla at busybox.net
@ 2010-08-11 19:15 ` bugzilla at busybox.net
  2010-08-13 14:28 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-08-11 19:15 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from S?rgio <sergio@sergiomb.no-ip.org>  ---
Created attachment 2335
  --> https://bugs.busybox.net/attachment.cgi?id=2335
fix problem on 64-bits host

Hi, with this patch , I could compile successfully  sysvinit-2.86

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
  2010-08-11 18:55 [Buildroot] [Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt bugzilla at busybox.net
  2010-08-11 19:15 ` [Buildroot] [Bug 2401] " bugzilla at busybox.net
@ 2010-08-13 14:28 ` bugzilla at busybox.net
  2010-08-13 14:29 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-08-13 14:28 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Ok, we need to pass LCRYPT=-lcrypt when building sysvinit. I'll cook a patch to
fix this. Thanks!

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
  2010-08-11 18:55 [Buildroot] [Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt bugzilla at busybox.net
  2010-08-11 19:15 ` [Buildroot] [Bug 2401] " bugzilla at busybox.net
  2010-08-13 14:28 ` bugzilla at busybox.net
@ 2010-08-13 14:29 ` bugzilla at busybox.net
  2010-08-13 15:00 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-08-13 14:29 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
By the way, Sergio, which distribution are you using ? Here, even my limited
x86_64 Debian chroot has /usr/lib/libcrypt.a, so I didn't see the potential
problem.

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
  2010-08-11 18:55 [Buildroot] [Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2010-08-13 14:29 ` bugzilla at busybox.net
@ 2010-08-13 15:00 ` bugzilla at busybox.net
  2010-08-13 15:14 ` bugzilla at busybox.net
  2010-08-22  6:41 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-08-13 15:00 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from S?rgio <sergio@sergiomb.no-ip.org>  ---
Fedora13.x86_64

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
  2010-08-11 18:55 [Buildroot] [Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2010-08-13 15:00 ` bugzilla at busybox.net
@ 2010-08-13 15:14 ` bugzilla at busybox.net
  2010-08-22  6:41 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-08-13 15:14 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from S?rgio <sergio@sergiomb.no-ip.org>  ---
(In reply to comment #3)
> Here, even my limited
> x86_64 Debian chroot has /usr/lib/libcrypt.a, so I didn't see the potential
> problem.

yum provides */libcrypt.a
(...)
Repo        : fedora
Filename    : /usr/lib/dietlibc/lib-x86_64/libcrypt.a

uClibc-devel-0.9.30.1-2.fc12.x86_64 : Header files and libraries for uClibc
library
Repo        : fedora
Filename    : /usr/lib64/uClibc/libcrypt.a

uClibc-devel-0.9.30.1-2.fc12.i686 : Header files and libraries for uClibc
library
Repo        : fedora
Filename    : /usr/lib/uClibc/libcrypt.a

dietlibc-devel-0.32-0.fc12.i686 : dietlibc development files
Repo        : fedora
Filename    : /usr/lib/dietlibc/lib-i386/libcrypt.a

arm-gp2x-linux-glibc-2.3.6-7.fc12.noarch : Cross Compiled GNU C Library
targeted at arm-gp2x-linux
Repo        : fedora
Filename    : /usr/arm-gp2x-linux/lib/libcrypt.a

glibc-static-2.12-3.x86_64 : C library static libraries for -static linking.
Repo        : updates
Filename    : /usr/lib64/libcrypt.a

glibc-static-2.12-3.i686 : C library static libraries for -static linking.
Repo        : updates
Filename    : /usr/lib/libcrypt.a



I have installed /usr/lib64/libcrypt.a, 

Should I install also glibc-static-2.12-3.i686  ?

-- 
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] 7+ messages in thread

* [Buildroot] [Bug 2401] sysvinit-2.86 fails to build on MIPS because is missing -lcrypt
  2010-08-11 18:55 [Buildroot] [Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2010-08-13 15:14 ` bugzilla at busybox.net
@ 2010-08-22  6:41 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-08-22  6:41 UTC (permalink / raw)
  To: buildroot

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

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

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

--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Thanks, fixed in my for-2010.08 branch.

-- 
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] 7+ messages in thread

end of thread, other threads:[~2010-08-22  6:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-11 18:55 [Buildroot] [Bug 2401] New: sysvinit-2.86 fails to build on MIPS because is missing -lcrypt bugzilla at busybox.net
2010-08-11 19:15 ` [Buildroot] [Bug 2401] " bugzilla at busybox.net
2010-08-13 14:28 ` bugzilla at busybox.net
2010-08-13 14:29 ` bugzilla at busybox.net
2010-08-13 15:00 ` bugzilla at busybox.net
2010-08-13 15:14 ` bugzilla at busybox.net
2010-08-22  6:41 ` 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