public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/631] --enable-static-nss breaks build
       [not found] <bug-631-131@http.sourceware.org/bugzilla/>
@ 2014-02-16 19:31 ` jackie.rosen at hushmail dot com
  2014-05-28 19:46 ` schwab at sourceware dot org
  1 sibling, 0 replies; 11+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 19:31 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=631

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #8 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/631] --enable-static-nss breaks build
       [not found] <bug-631-131@http.sourceware.org/bugzilla/>
  2014-02-16 19:31 ` [Bug libc/631] --enable-static-nss breaks build jackie.rosen at hushmail dot com
@ 2014-05-28 19:46 ` schwab at sourceware dot org
  1 sibling, 0 replies; 11+ messages in thread
From: schwab at sourceware dot org @ 2014-05-28 19:46 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=631

Andreas Schwab <schwab at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jackie.rosen at hushmail dot com   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
                   ` (7 preceding siblings ...)
  2005-07-03 10:42 ` web-sources dot redhat dot com at jankratochvil dot net
@ 2005-07-19  3:45 ` roland at gnu dot org
  8 siblings, 0 replies; 11+ messages in thread
From: roland at gnu dot org @ 2005-07-19  3:45 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2005-07-19 03:45 -------
--enable-static-nss is not a supported option.  If it's broken, feel free to fix
it, but don't file bugs about build issues.  Use the mailing lists.

*** This bug has been marked as a duplicate of 333 ***

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


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
                   ` (6 preceding siblings ...)
  2005-06-20  7:46 ` web-sources dot redhat dot com at jankratochvil dot net
@ 2005-07-03 10:42 ` web-sources dot redhat dot com at jankratochvil dot net
  2005-07-19  3:45 ` roland at gnu dot org
  8 siblings, 0 replies; 11+ messages in thread
From: web-sources dot redhat dot com at jankratochvil dot net @ 2005-07-03 10:42 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |1045
              nThis|                            |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
                   ` (5 preceding siblings ...)
  2005-06-20  3:27 ` web-sources dot redhat dot com at jankratochvil dot net
@ 2005-06-20  7:46 ` web-sources dot redhat dot com at jankratochvil dot net
  2005-07-03 10:42 ` web-sources dot redhat dot com at jankratochvil dot net
  2005-07-19  3:45 ` roland at gnu dot org
  8 siblings, 0 replies; 11+ messages in thread
From: web-sources dot redhat dot com at jankratochvil dot net @ 2005-06-20  7:46 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From web-sources dot redhat dot com at jankratochvil dot net  2005-06-20 07:46 -------
(In reply to comment #5)
> I had to add
>   -Wl,--start-group -lc -lnss_files -lnss_dns -lresolv -Wl,--end-group 
> to the gcc commandline to get a small test program to link -static.

I hope you are aware this is perfectly valid as .a do not contain interlibrary
dependencies. Would glibc distribute yet-to-implement libtool's .la files for it?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.3.4                       |2.3.5


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
                   ` (4 preceding siblings ...)
  2005-06-15 19:37 ` dank at kegel dot com
@ 2005-06-20  3:27 ` web-sources dot redhat dot com at jankratochvil dot net
  2005-06-20  7:46 ` web-sources dot redhat dot com at jankratochvil dot net
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: web-sources dot redhat dot com at jankratochvil dot net @ 2005-06-20  3:27 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |web-sources dot redhat dot
                   |                            |com at jankratochvil dot net


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
                   ` (3 preceding siblings ...)
  2005-06-15 15:56 ` dank at kegel dot com
@ 2005-06-15 19:37 ` dank at kegel dot com
  2005-06-20  3:27 ` web-sources dot redhat dot com at jankratochvil dot net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: dank at kegel dot com @ 2005-06-15 19:37 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From dank at kegel dot com  2005-06-15 19:37 -------
This bug report is a bit confusing because similar errors happen
when building glibc-2.3.5, and when building user apps.
The patch I posted fixes building glibc-2.3.5 itself.

Compiling user apps with this option might require
some more flags than the user is used to.  I had to add
  -Wl,--start-group -lc -lnss_files -lnss_dns -lresolv -Wl,--end-group 
to the gcc commandline to get a small test program to link -static.
I haven't figured out the options for g++ yet.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
                   ` (2 preceding siblings ...)
  2005-06-15 15:53 ` dank at kegel dot com
@ 2005-06-15 15:56 ` dank at kegel dot com
  2005-06-15 19:37 ` dank at kegel dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: dank at kegel dot com @ 2005-06-15 15:56 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From dank at kegel dot com  2005-06-15 15:56 -------
Created an attachment (id=517)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=517&action=view)
Proposed fix for link failure of ldconfig with --enable-static-nss


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
  2005-03-26  9:47 ` [Bug libc/631] " striek at hotmail dot com
  2005-03-26 13:48 ` striek at hotmail dot com
@ 2005-06-15 15:53 ` dank at kegel dot com
  2005-06-15 15:56 ` dank at kegel dot com
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: dank at kegel dot com @ 2005-06-15 15:53 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From dank at kegel dot com  2005-06-15 15:53 -------
I saw this myself this morning building glibc-2.3.5.
It seems to be a missing hunk in elf/Makefile.
I have a patch that seems to solve it; I arrived at the
patch by mimicing similar stanzas in other subdirectories' Makefiles,
stealing an idea from Makeconfig, and tweaking Makeconfig slightly
so $(otherlibs) is obeyed when linking static apps.
I'll attach the patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
  2005-03-26  9:47 ` [Bug libc/631] " striek at hotmail dot com
@ 2005-03-26 13:48 ` striek at hotmail dot com
  2005-06-15 15:53 ` dank at kegel dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: striek at hotmail dot com @ 2005-03-26 13:48 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From striek at hotmail dot com  2005-03-26 13:48 -------
Same problem with 2.3.4... again, *exactly* the same error messages. packages
will compile when linked against libraries using static nss routines; however
with 2.3.4, most packages fail when linked against those libraries.

Shadow-4.06 still compiles successfully with static NSS support.

Build system:
glibc-2.3.4
gcc-3.4.4
binutils 2.15.92.0.2
Slackware 10.1
Kernel 2.6.11.5 / 2.6.11.3
i686 architecture

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/631] --enable-static-nss breaks build
  2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
@ 2005-03-26  9:47 ` striek at hotmail dot com
  2005-03-26 13:48 ` striek at hotmail dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: striek at hotmail dot com @ 2005-03-26  9:47 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From striek at hotmail dot com  2005-03-26 09:47 -------
Same problem here. Just about everything I attempt to compile with static NSS
glibc breaks during the build, with *exactly* the same error message described
above. Glibc-2.3.3 compiles without errors, however.

glibc version 2.3.3 (from ftp.gnu.org)
gcc version 3.3.4
Slackware 10.1
Kernel 2.6.11.5 / 2.6.11.3
i686 architecture

glibc-2.3.3 compiled with the following flags:
../glibc-2.3.3/configure --enable-add-ons=linuxthreads
--prefix=/usr/local/glibc-static-2.3.3 --enable-static-nss

Packages compiled with the above libraries use the following flags:
./configure --disable-nls (--disable-shared)

and

make LDFLAGS="(-static | -all-static) -L/usr/local/glibc-static-2.3.3/lib
-Wl,--start-group -lc -lnss_files -lnss_dns -lresolv -Wl,--end-group"

Have tried compiling with CFLAGS+="-static" and similar to no avail, as well
with --disable-shared with individual packages, which also did not work.

Of note is that shadow-4.06 successfully compiles with the library compiled as
above.

I believe this is not a Redhat bug, rather a bug in the C library which occurs
when using static NSS routines. I have seen reports of it from debian, red hat,
and slackware systems. I am compiling the de facto library from gnu.org.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sources.redhat.com/bugzilla/show_bug.cgi?id=631

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2014-05-28 19:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-631-131@http.sourceware.org/bugzilla/>
2014-02-16 19:31 ` [Bug libc/631] --enable-static-nss breaks build jackie.rosen at hushmail dot com
2014-05-28 19:46 ` schwab at sourceware dot org
2005-01-03  0:09 [Bug libc/631] New: " elkner at linofee dot org
2005-03-26  9:47 ` [Bug libc/631] " striek at hotmail dot com
2005-03-26 13:48 ` striek at hotmail dot com
2005-06-15 15:53 ` dank at kegel dot com
2005-06-15 15:56 ` dank at kegel dot com
2005-06-15 19:37 ` dank at kegel dot com
2005-06-20  3:27 ` web-sources dot redhat dot com at jankratochvil dot net
2005-06-20  7:46 ` web-sources dot redhat dot com at jankratochvil dot net
2005-07-03 10:42 ` web-sources dot redhat dot com at jankratochvil dot net
2005-07-19  3:45 ` roland at gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).