Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/uClibc

Buildroot jacmet at uclibc.org 2 participants 6 messages Jun 17, 2008 – Jun 18, 2008

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008) New Revision: 22401

Log:
toolchain/uclibc: strip libpthread

Modified:
trunk/buildroot/toolchain/uClibc/uclibc.mk

Changeset:
Modified: trunk/buildroot/toolchain/uClibc/uclibc.mk
===================================================================

buildroot/toolchain/uClibc/uclibc.mk +1 -0
@@ -527,6 +527,7 @@
 		DEVEL_PREFIX=/usr/ \
 		RUNTIME_PREFIX=/ \
 		install_runtime
+	$(STRIPCMD) $(@D)/lib*.so*
 	touch -c $@
 
 $(TARGET_DIR)/usr/bin/ldd: $(cross_compiler)
#1 lore raw
Quoted 6 lines · jacmet at uclibc.org

Author: jacmet
Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008) New Revision: 22401

Log:
toolchain/uclibc: strip libpthread

Those are options in uclibc-menuconfig.

By unconditionally stripping it (and not even using the flags!) you foobar'ed somebody's setup who wanted to retain just uClibc/lib/lib*so's debug symbols.

#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard Fischer <[email protected]> writes:

Quoted 6 lines · jacmet at uclibc.org
Quoted 6 lines

Author: jacmet
Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008) New Revision: 22401

Log:
toolchain/uclibc: strip libpthread

Bernhard> Those are options in uclibc-menuconfig.

Sorry, I don't see it. Do you mean CONFIG_PTHREADS_DEBUG_SUPPORT? uclibc (0.9.28.3) doesn't seem to strip libpthread even with that option disabled.

Bernhard> By unconditionally stripping it (and not even using the Bernhard> flags!) you foobar'ed somebody's setup who wanted to retain Bernhard> just uClibc/lib/lib*so's debug symbols.

Notice that I'm stripping the ones in TARGET_DIR, not STAGING_DIR, but yes - It should probably depend on !CONFIG_BR2_PTHREAD_DEBUG.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
Quoted 7 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard Fischer <[email protected]> writes:

Quoted 4 lines · jacmet at uclibc.org
Quoted 4 lines

Author: jacmet
Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008) New Revision: 22401

Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

Log:
toolchain/uclibc: strip libpthread

Bernhard> Those are options in uclibc-menuconfig.

Sorry, I don't see it. Do you mean CONFIG_PTHREADS_DEBUG_SUPPORT?

no. DOSTRIP

#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard Fischer <[email protected]> writes:

Quoted 2 lines · Peter Korsgaard
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernhard" == Bernhard Fischer <[email protected]> writes:

Quoted 7 lines · jacmet at uclibc.org
Quoted 7 lines
Quoted 6 lines
Quoted 6 lines

Author: jacmet
Date: 2008-06-17 06:30:35 -0700 (Tue, 17 Jun 2008) New Revision: 22401

Log:
toolchain/uclibc: strip libpthread

Bernhard> Those are options in uclibc-menuconfig.

Quoted 2 lines
Quoted 2 lines

Sorry, I don't see it. Do you mean CONFIG_PTHREADS_DEBUG_SUPPORT?

Bernhard> no. DOSTRIP

That doesn't exist in 0.9.28.3 (I'm back at 0.9.28.3 while debugging a threading/mutex issue with 0.9.29 and avahi). I'll change the strip to only apply when using 0.9.28.3.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw
Quoted 5 lines · Peter Korsgaard

Bernhard> no. DOSTRIP

That doesn't exist in 0.9.28.3 (I'm back at 0.9.28.3 while debugging a threading/mutex issue with 0.9.29 and avahi). I'll change the strip to only apply when using 0.9.28.3.

Ok, that's better. Thanks.