Hi, -------- Original-Nachricht -------- > Datum: Fri, 25 Mar 2011 15:14:28 +0800 > Von: Tony Wu <[email protected]> > An: Peter Mazinger <[email protected]> > Betreff: parser_config.[ch]: remove duplicated hidden functions
> Hello, > > commit fae9c92 is causing segmentation fault in config_read. For > example, __read_etc_hosts_r in resolv.c. > > The real config_read implementation (defined in parse_config.c, taking > 4 arguments) is hiding behind a wrapper (defined in parse_config.h, > taking 6 arguments). I think commit fae9c92 removed config_read's > hidden attribute causing other callers to use unwrapped version > directly, and therefore, caused segmentation fault. that commit removed only __GI_x() hidden aliases to the 3 functions, the hidden attribute is coming from the parser_config.h header. You can check that with readelf -s libc/misc/internals/parse_config.o[s], on my build all 3: config_read, config_open and config_close are hidden. The wrapper issue might be valid: You might check if the wrapper is causing problems by renaming only the config_read function to __config_read (in parser_config.[hc] and it's use in the wrapper) Peter -- NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
