irclog2html for #uclibc on 20051029

00:00.01JockeHomethat wont work
00:06.05psmnitinkg: yes
00:06.36psmJockeHome: it seems to work w/ rewriting the LOAD/RESTOREARGS_1
00:07.11JockeHomegreat, does it run also :)
00:07.14JockeHome?
00:07.58JockeHome7.72 `.purgem NAME'
00:07.58JockeHome===================
00:07.59JockeHomeUndefine the macro NAME, so that later uses of the string will not be
00:07.59JockeHomeexpanded.  *Note Macro::.
00:08.03psmcant tell, because I have others problems as well, for ex. a simple libm/s_lib_version.c if within IMA cant compile
00:08.36JockeHomemaybe a .purgem before the macro def will work as well?
00:08.44psmthat would be an option to put it before
00:09.11JockeHomeits cleaner, hope it works
00:09.43JockeHomewhats s_lib_version.c?
00:10.40JockeHomewhy does libm prevent you from comp. libc?
00:11.22psmpurgem works the same
00:11.52psmlibm cant be built completely IMA because of this one file (does not have to do w/ libc)
00:13.15psmI get though a warning "Attempt to purge non-existant macro"
00:13.29psmbut it builds
00:14.02JockeHomewhats the error message for libm?
00:16.02psmconflicting types for _LIB_VERSION (math.h:252) previous definition of _LIB_VERSION was here (s_lib_version.c)
00:16.30psmand apparently there is no conflict, this is a "common" IMA failure
00:18.28JockeHomeuse  #ifdef__USE_MISC in .c file?
00:18.56JockeHome.c == s_lib_version.c
00:19.23psmno, but it is compiled w/ _SVID_SOURCE and that iirc implies it
00:20.30psmyes, it implies __USE_MISC
00:21.16JockeHomestill, math.h has a __USE_MISC around so shold .c as well
00:22.02psmit does not like the type _LIB_VERSION_TYPE, I have a similar case in libpthread where PT_EI is defined somewhere else, and then used as PT_EI function_name()
00:23.08JockeHomeds: lets hear it :)
00:23.17psmadded __USE_MISC, no use
00:23.56JockeHomeOK, but leave it in. It should be there
00:24.35dsJockeHome: (this time...) gcc emits calls to floorf() instead of the actual call to floor()
00:24.56JockeHome4.0?
00:25.20ds3.4.4
00:25.39JockeHomethats bad, I use 3.4.4 too
00:26.17psmds: is it floorf or __floorf ?
00:26.23dsfloorf
00:26.36psmok, because I removed __floorf recently
00:26.57dsand it doesn't even do it when you'd expect, i.e., (float) f = floor ((float) g);
00:27.39psmthat is floorf
00:28.45dsright
00:28.55dsit seems to be tied in with a memory load
00:33.46JockeHomegcc is beeing smart and replaces floor with floorf since its arg is a float?
00:34.27psmJockeHome: the first .purgem emits the warning, can that be suppressed ?
00:34.29dsyep
00:34.35dsbut only sometimes
00:36.08JockeHomeI guess that depends on the type of 'f'?
00:36.13dsno
00:36.42JockeHomepsm: don't know, havn't looked
00:37.06JockeHomeds: :(
00:40.24*** join/#uclibc thraxisp|away (n=thraxisp@ottawa-hs-64-26-147-20.d-ip.magma.ca)
00:41.09JockeHomepsm: Is USE_MISC defined when you compile libm?
00:41.50JockeHometry removing #ifdef __USE_MISC in math.h
00:42.41*** join/#uclibc andersen (n=andersee@codepoet.org)
00:43.00psm-D_SVID_SOURCE is defined and that pulls in through math.h/features.h __USE_MISC
00:43.29*** join/#uclibc ashes (n=ashes@modemcable080.175-201-24.mc.videotron.ca)
00:45.54CIA-803psm * r11968 10uClibc/ (Rules.mak extra/Configs/Config.in): Add configure option to allow IMA compiling
00:46.01JockeHomedoes all files include math.h?
00:46.19psmprobably
00:46.44psmI get the error many times, not only once
00:46.44JockeHomestill, try removing #ifdef __USE_MISC in math.h
00:47.25psmthe same
00:48.13psmI get the error probably for each and every source or object file
00:51.22JockeHomestrange
00:52.21psmI found compiling like this some real conflicts (in fcntl.h for ex.) , but this one seems to be really ok
00:52.50JockeHomeis the error message the same for all files
00:52.52JockeHome?
00:52.59psmexactly
00:53.07CIA-803vapier * r11969 10uClibc/ (Makefile Makefile.in): cleanup the release target so that it doesnt kill my svn checkout anymore :/
00:53.21JockeHomewhat line in s_lib_version.c?
00:53.50psmthe one active (for you the last with _IEEE_
00:55.24JockeHomeredef _LIB_VERSION_TYPE to an int to what happens
00:55.44psmI use _POSIX_MODE, so mine is the line w/ _POSIX_
00:56.00psmin *.c or math.h ?
00:56.09JockeHomemath.h
00:59.37psm#define _LIB_VERSION_TYPE int allows to build
01:00.14psmdone between enum and extern
01:00.59JockeHomesmells like an gcc bug
01:02.36JockeHomemaybe you need some enum compiler option?
01:04.28JockeHomewhat if you do typedef int  _LIB_VERSION_TYPE?
01:05.00psmyou are right, gcc-4.0.0 through gcc-4.0.2-20050929 builds it, 3.4.4 fails
01:06.45psmI have to disable the enum before, and then _POSIX_/_SVID_/_IEEE_ undeclared
01:09.12ashes# ip addr add ::1/64 dev lo
01:09.12ashesError: an inet prefix is expected rather than "::1/64".
01:09.18asheswhat am i doing wrong?
01:10.24JockeHomejust rename the existing _LIB_VERSION_TYPE
01:11.54psmwhere rename it ?
01:12.13JockeHomein math.h
01:12.22psmglibc has exactly the same in s_lib_version.c and math.h
01:12.32JockeHomeyup
01:14.56psmthen it builds
01:15.50JockeHomegcc 3.4.4 seems to be buggy, just ask ds :)
01:16.21psmthx, until now it worked, but some have trouble rebuilding gcc w/ itself
01:17.35JockeHomedid libc get any smaller with IMA?
01:18.22psmlibc is far away of being doable, until I do have all other libs, I dont touch it (I managed only about 1/4 sources to get into IMA)
01:19.20JockeHomeswitch compiler :)
01:19.35JockeHomeneed to sleep now
01:19.42psmI will probably limit IMA to gcc-4
01:19.46psmsleep well
01:19.48psmthx
01:19.50JockeHomebye
01:21.41psmbye
01:26.02CIA-803psm * r11970 10uClibc/Rules.mak: Limit IMA compiling to gcc-4, gcc-3.4.4 can't cope w/ some sources
01:36.32CIA-803psm * r11971 10uClibc/Rules.mak: Add -o /dev/null to AS_NEEDED check linker script check, else a.out polution all over the place
01:49.22solarahh i see.
02:37.09*** join/#uclibc thraxisp|away (n=thraxisp@ottawa-hs-64-26-147-20.d-ip.magma.ca)
02:38.30*** join/#uclibc andersee (n=andersen@codepoet.org)
02:58.47psmandersee: ping
03:00.03anderseepsm: evening
03:00.24ashesif i dont normally take vitamins, and im sick, is it fairly safe to go to the overdose threshhold of vitamin intake just while im sick?
03:01.37psmwhen do you think the new Makefiles should go active? should the links be created on startup or you want it all in the svn repo?
03:02.08ashesi may have taken two multi-vitamins by mistake. and im popping vitamin C and two odourless garlics every hour. and 2-3 vitamin A's
03:02.37ashes2-3 vitamin A's per day
03:02.49anderseepsm: according to: http://subversion.tigris.org/faq.html#symlinks
03:03.03anderseepsm: svn can store symlinks w/o any problems
03:03.17anderseepsm: so lets just go with that
03:04.14psmdo you want them all (in every subdir) or only the minimal set needed to allow building , having a script that creates the rest?
03:04.58anderseehmm
03:08.07anderseepsm: lets just run the script
03:08.33anderseepsm: I think we will have some unhappy people if we archive symlinks
03:08.53anderseelike the twisted souls that build under windows with cygwin
03:09.34psmwe could optionally copy instead of link
03:09.34anderseewe will need to however teach svn to ignore the symlinks
03:10.15anderseethe makefiles are trivial enough a copy wouldn't be painful
03:10.57anderseepsm: lets do that.  Just copy them into place and check them in.
03:11.07anderseeno mucking about with symlinks
03:13.43psmI would leave the "master copies" and the script, so that if these get updated (TOPDIR for ex. being removed), we can update all of them at once
03:13.59anderseeseems reasonable
03:14.16anderseejust need to change create_links.sh to copy instead of link
03:14.21anderseeand perhaps rename it
03:14.47psmcreate_makefiles.sh ;)
03:16.01psmwhen should the change happen, I have tested on x86 only, and another one on vax (no shared support)
03:16.27anderseepsm: go for it
03:17.10anderseepsm: might as well get it done.  If something is broken, its best to find out sooner rather than later
03:17.47psmwhat should happen w/ the Makefiles for archs that are not supported (old crt0.S), remove them ?
03:20.02anderseewell, arches such as i960 and such have been sortof bitrotting for a while now
03:20.38anderseeperhaps we need to mv then to libc/sysdeps/linux/broken/
03:20.43andersee:)
03:21.25anderseesuppose if anyone cares that will encourage them to fix things
03:21.44anderseeand if nobody cares, we can nuke them after a while
03:48.06ashesfrom inetutils-cvs: undefined reference to `rpl_realloc'
06:11.30*** join/#uclibc __cow (n=cow@M850P029.adsl.highway.telekom.at)
06:22.19vapierashes: it's because you dont have gnu malloc turned on
06:29.56ashesinetutils-cvs died for another reason after
06:30.12asheser
06:30.20ashesping6 doesn't compile
06:31.23vapierok ... ?
06:31.36vapierlook at the configure output ... find the lines talking about malloc
06:32.55vapierhttp://rafb.net/paste/results/QCcikq40.html
06:34.59CIA-803vapier * r11972 10uClibc/docs/uclibc.org/FAQ.html: add an entry about gnu malloc compat option
06:35.52vapierandersen: ping ... how come the FAQ has a ton of <br>'s at the end of it ?
06:39.20CIA-803vapier * r11973 10uClibc/docs/uclibc.org/header.html: add a charset def and update the doctype
07:01.35CIA-803vapier * r11974 10buildroot/package/ (6 files in 3 dirs): rename dropbear_sshd to just dropbear
07:16.39CIA-803vapier * r11975 10buildroot/package/zlib/zlib.mk: use := instead of = for variables and make sure zlib builds with target cflags
07:50.22CIA-803vapier * r11976 10uClibc/docs/uclibc.org/FAQ.html: close <a> tags like they should be for valid html
07:55.31CIA-803vapier * r11977 10uClibc/docs/uclibc.org/products.html: use &amp; instead of &, tweak style, and add link for Embedded Gentoo
07:57.52CIA-803vapier * r11978 10busybox/docs/busybox.net/header.html: update doctype and add a charset encoding
08:03.55CIA-803vapier * r11979 10busybox/docs/busybox.net/FAQ.html: fix <p> and <a> tags
08:14.35CIA-803vapier * r11980 10busybox/docs/busybox.net/shame.html: add ZyXEL to the shame list
09:45.23CIA-803vapier * r11981 10buildroot/package/gnuconfig/ (CVS/Entries ChangeLog config.guess): sync with config cvs
10:08.21*** join/#uclibc Sgt-Donan (n=Loutre@mto30-1-82-242-53-8.fbx.proxad.net)
10:12.00CIA-803psm * r11982 10uClibc/extra/scripts/ (create_links.sh create_makefiles.sh): Renamed script to create_makefiles.sh, copy instead of link (to allow cygwin users to build), creates all Makefiles now, should be only used if the master copies are updated
10:16.20CIA-803psm * r11983 10uClibc/ (70 files in 70 dirs): Replace all Makefiles for new build infrastucture
10:18.44CIA-803psm * r11984 10uClibc/libc/misc/internals/ (Makefile.in __uClibc_main.c static.c): Hopefully correct undefined __libc_stack_end issue
11:32.46*** join/#uclibc ico2 (n=ico2@modem-1638.chimpanzee.dialup.pol.co.uk)
11:32.48ico2hi
11:32.55ico2having some trouble with pivot_root
11:33.09ico2i create the ramdisk etc
11:33.25ico2i use unionfs to link everything onto it
11:33.30ico2then i cd into it
11:33.38ico2and pivot_root . old_root
11:33.48ico2(the old_root dir exists)
11:34.01ico2and i get an Invalid argument error
11:34.04ico2why is this?
11:41.52*** join/#uclibc woglinde (i=woglinde@e178076105.adsl.alicedsl.de)
11:54.46woglindejo zecke
11:55.05woglindeups
12:00.41*** join/#uclibc ashes_ (n=ashes@modemcable080.175-201-24.mc.videotron.ca)
13:00.16*** join/#uclibc thraxisp (n=thraxisp@ottawa-hs-64-26-147-20.d-ip.magma.ca)
13:46.28CIA-803jocke * r11985 10uClibc/ldso/ldso/ (dl-elf.c ldso.c powerpc/elfinterp.c):
13:46.29CIA-8Hopefully fix the bug Oleg reported in http://uclibc.org/lists/uclibc/2005-October/012809.html
13:46.29CIA-8This will only fix powerpc. Should be easy to fix the other arches.
13:49.39*** join/#uclibc ico2 (n=ico2@modem-1400.elephant.dialup.pol.co.uk)
14:34.29*** join/#uclibc ico2 (n=ico2@modem-2229.chameleon.dialup.pol.co.uk)
16:11.45*** join/#uclibc __cow (n=cow@M801P017.adsl.highway.telekom.at)
17:42.22*** join/#uclibc ico2 (n=ico2@modem-2835.cougar.dialup.pol.co.uk)
18:16.04*** join/#uclibc ambrose (n=bjb@ns1.linuxbutler.ca)
18:39.32*** join/#uclibc nickv111 (n=nick@70-33-44-221.clspco.adelphia.net)
18:40.01nickv111I'm trying to build a small uclibc/busybox based rootfs. How would I go about linking busybox against uClibc?
18:40.57nickv111I have uClibc installed on my rootfs and I need busybox to not link against my host's glibc, but rather the new rootfs's uClibc
18:46.51CIA-803sjhill 07uClibc-nptl * r11986 10/libc/sysdeps/linux/mips/sysdep.h:
18:46.51CIA-8Only include 'regdef.h' when using assembly code. Your character has
18:46.51CIA-8gained +1 idiot experience points.
19:07.31ashes_nickv111: use CC="gcc --dynamic-linker /lib/ld-uClibc.so.0"
19:08.06nickv111ashes: Oh, thanks
19:08.21nickv111ashes: Unfortunately, uClibc is refusing to build
19:08.29nickv111Probably because I'm using the svn version
19:08.35nickv111I'm going to try using the sane versions
19:09.07CIA-803sjhill 07uClibc-nptl * r11987 10/test/Makefile: (log message trimmed)
19:09.07CIA-8Do not add entries: pthread, dlopen, tls to ALL_SUBDIRS unless thos
19:09.07CIA-8features are actually enabled. Add 'tls' as a new test suite in the
19:09.54CIA-803sjhill 07uClibc-nptl * r11988 10/ldso/libdl/Makefile: Add '-DSHARED' flag when building the shared 'libdl'.
19:11.50CIA-803sjhill 07uClibc-nptl * r11989 10/ldso/include/ldsodefs.h:
19:11.50CIA-8Fix up dependencies for when 'extern' is used. This file is a mess
19:11.50CIA-8and I look forward to eliminating it soon.
19:14.29nickv111Yeah, using a sane version of uClibc seems to work fine
19:14.50CIA-803sjhill 07uClibc-nptl * r11990 10/ldso/ (include/ldso.h ldso/dl-debug.c ldso/dl-tls.c): (log message trimmed)
19:14.50CIA-8Removed old 'assert' function and created new '_dl_assert' macro and
19:14.51CIA-8update usage of it. Also removed '_dl_fatal_printf' macro and usage
19:48.51CIA-803sjhill 07uClibc-nptl * r11991 10/Makerules: Add new file to branch.
20:02.05*** join/#uclibc ico2 (n=ico2@modem-2678.elephant.dialup.pol.co.uk)
20:02.23nickv111ashes: Hmm... Your suggestion doesn't seem to help, as I don't have a --dynamic-linker option in my gcc.
20:14.21ashestake away one -
20:15.31ashes-Wl,--dynamic-linker,/lib/ld-uClibc.so.0
20:15.44ashesor
20:15.47ashesCC="gcc -Wl,--dynamic-linker,/lib/ld-uClibc.so.0 /lib/libc.so.0"
20:16.31ashes--dynamic-linker is an ld option
20:16.36*** part/#uclibc ico2 (n=ico2@modem-2678.elephant.dialup.pol.co.uk)
20:16.41nickv111Oh...
20:17.31nickv111Wow. I think it's working :)
20:17.35nickv111Thank you
20:17.42ashes:)
20:17.44nickv111Nobody else would help me
20:18.39nickv111Actually, I don't think it did work :-\
20:18.50nickv111Doing "ldd busybox" shows that it's still linked to glibc
20:21.19nickv111I don't think it's using my $CC variable
20:25.35nickv111No, it's definitely not using my $CC
20:25.39CIA-803sjhill 07uClibc-nptl * r11992 10/libc/pwd_grp/pwd_grp_internal.c: Add from trunk.
20:46.24nickv111Got it.

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.