Revert of 406cd0fee12ad99ba6d6f7d55f743cc4c6697955
Hi,
Since 406cd0fee12ad99ba6d6f7d55f743cc4c6697955 broke all glibc-internal-iconv builds and I'm too lazy/stupid to fix it properly for uclibc I reverted this commit.
Koen
Quoted 5 lines · Koen Kooi
Hi,
Since
406cd0fee12ad99ba6d6f7d55f743cc4c6697955broke all glibc-internal-iconv builds and I'm too lazy/stupid to fix it properly for uclibc I reverted this commit.
for unpatched uClibc you could justTARGET_CPPFLAGS += -D_Exit=_exit
Hello Bernhard,
Quoted 10 lines · Bernhard Reutner-Fischer
Quoted 5 lines · Koen Kooi
Hi,
Since
406cd0fee12ad99ba6d6f7d55f743cc4c6697955broke all glibc-internal-iconv builds and I'm too lazy/stupid to fix it properly for uclibc I reverted this commit.for unpatched uClibc you could just
TARGET_CPPFLAGS+= -D_Exit=_exit
Thanks, and what's the patched uClibc alternative (and where's the patch)? It defines _Exit()?
Maybe that's better for OE.
Regards,
Signature · 1 line
Leon
Quoted 11 lines · Leon Woestenberg
Hello Bernhard,
Quoted 7 lines · Bernhard Reutner-Fischer
Quoted 5 lines · Koen Kooi
Hi,
Since
406cd0fee12ad99ba6d6f7d55f743cc4c6697955broke all glibc-internal-iconv builds and I'm too lazy/stupid to fix it properly for uclibc I reverted this commit.
Quoted 5 lines
Quoted 3 lines
for unpatched uClibc you could just
TARGET_CPPFLAGS+= -D_Exit=_exitThanks, and what's the patched uClibc alternative (and where's the patch)? It defines
_Exit()?
I suggest to just #define it to _exit, yes.
(glibc has it as weak alias but i'd prefer to get away with a define), like:
_Exit(): define to _exit()
--- include/stdlib.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
include/stdlib.h +0 -0
@@ -545,12 +545,14 @@ extern void exit (int __status) __THROW
__attribute__ ((__noreturn__));
libc_hidden_proto(exit)
__END_NAMESPACE_STD
-#ifdef __USE_ISOC99
+#if 0 /* def __USE_ISOC99 */
__BEGIN_NAMESPACE_C99
/* Terminate the program with STATUS without calling any of the
functions registered with atexit' or on_exit'. */
extern void _Exit (int __status) __THROW __attribute__
((__noreturn__));
__END_NAMESPACE_C99
+#else
+# define _Exit _exit
#endif
Signature · 1 line
1.6.5.2
Hi Bernhard,
thanks for the patch, but _exit is not the problem. Problem is crappy iconv stuff. But I will fix it now the right way.
Bye Henning
Quoted 15 lines · Bernhard Reutner-Fischer
Quoted 14 lines · Leon Woestenberg
Hello Bernhard,
Quoted 10 lines · Bernhard Reutner-Fischer
Quoted 5 lines · Koen Kooi
Hi,
Since
406cd0fee12ad99ba6d6f7d55f743cc4c6697955broke all glibc-internal-iconv builds and I'm too lazy/stupid to fix it properly for uclibc I reverted this commit.for unpatched uClibc you could just
TARGET_CPPFLAGS+= -D_Exit=_exit
Quoted 8 lines
Quoted 2 lines
Thanks, and what's the patched uClibc alternative (and where's the patch)? It defines
_Exit()?I suggest to just #define it to
_exit, yes.
(glibc has it as weak alias but i'd prefer to get away with a define), like:
_Exit(): define to_exit()
OTOH someone may want to override it locally, so to play safe let's follow suite:
http://git.uclibc.org/uClibc/commit/?h=0_9_30&id=e4adfdc4128c5909adeefecdaf870e30172922a9
Quoted 3 lines · On Wednesday 18 November 2009 13:30:12 Bernhard Reutner-Fischer wrote:
I suggest to just #define it to
_exit, yes.
(glibc has it as weak alias but i'd prefer to get away with a define), like:
Two things..
1.) The patch can not be applied as someone's mailer has linewrapped it 2.) Does the issue still apply?