# 01:25:52 |
blueness |
quits : Quit: blueness |
# 04:31:29 |
blueness |
joins #crosstool-ng |
# 07:04:57 |
JakeSays |
quits : Ping timeout: 244 seconds |
# 07:06:04 |
JakeSays |
joins #crosstool-ng |
# 07:15:52 |
mingwandroid |
joins #crosstool-ng |
# 07:20:56 |
bhundven |
mingwandroid: hey |
# 07:21:21 |
mingwandroid |
bhundven: hey |
# 07:21:36 |
bhundven |
mingwandroid: did you see my note in #353? |
# 07:22:53 |
mingwandroid |
just now I did! |
# 07:23:29 |
mingwandroid |
I think I get too many emails I've reached a point where it's not possible to check them all :-( |
# 07:23:53 |
mingwandroid |
.. which means I need to setup better filtering rules |
# 07:24:01 |
bhundven |
:) |
# 07:24:33 |
mingwandroid |
what is localedef? |
# 07:24:43 |
mingwandroid |
part of gcc? |
# 07:24:47 |
bhundven |
glibc |
# 07:24:54 |
mingwandroid |
glibc of course. |
# 07:24:57 |
bhundven |
"Build and install locales" |
# 07:25:02 |
mingwandroid |
hmm, yeah |
# 07:25:09 |
bhundven |
https://github.com/crosstool-ng/crosstool-ng/pull/353 |
# 07:25:45 |
mingwandroid |
I wonder if I didn't have that enabled, does the raspi2 sample have it enabled? |
# 07:26:10 |
mingwandroid |
I'm not in front of my mac right now. |
# 07:26:30 |
mingwandroid |
can look in ten minutes |
# 07:26:47 |
bhundven |
rpi2 does not, but rpi 1 does |
# 07:26:50 |
bhundven |
armv6 |
# 07:27:01 |
bhundven |
which is how the bug started |
# 07:27:15 |
bhundven |
https://github.com/crosstool-ng/crosstool-ng/issues/290 |
# 07:28:53 |
bhundven |
I'm pretty much getting to the point of saying "You can't build locales on mac os x" |
# 07:29:12 |
bhundven |
glibc doesn't build on mac os x nicely. |
# 07:30:11 |
bhundven |
even the "hacker-mode" doesn't get around the issue that the sysdeps for mac os x don't exist in glibc. |
# 07:30:35 |
bhundven |
so for that reason, I'm going to drop that last patch for now in the patch series for the glibc cleanup |
# 07:31:02 |
bhundven |
just so we can at least get glibc.sh a bit more sane looking |
# 07:34:07 |
mingwandroid |
I dont think there'll be much to fix now we have gettexet + iconv |
# 07:34:16 |
mingwandroid |
but I could be wrong! |
# 07:34:23 |
mingwandroid |
due to the double gettext dance. |
# 07:34:38 |
mingwandroid |
gettext -> iconv -> gettext |
# 07:35:09 |
mingwandroid |
.. or is it: |
# 07:35:18 |
mingwandroid |
iconv -> gettext -> iconv |
# 07:36:14 |
mingwandroid |
anyway, yeah, maybe disable it for now and assign me a bug to fix it? |
# 07:37:01 |
mingwandroid |
can you also disable static toolchains on mac? |
# 07:37:15 |
mingwandroid |
that'd be great, the number of times I get caught out there. |
# 07:51:20 |
diorcety |
joins #crosstool-ng |
# 08:22:40 |
diorcety |
quits : Quit: Leaving. |
# 08:36:27 |
bhundven |
mingwandroid: yea, that's what https://github.com/crosstool-ng/crosstool-ng/issues/351 is for |
# 08:36:35 |
bhundven |
discover the OS at ./configure time |
# 08:37:49 |
bhundven |
so we can set some kconfig option that static options can `!depends on` |
# 09:10:24 |
diorcety1 |
joins #crosstool-ng |
# 09:14:54 |
mingwandroid |
ah yes, good. |
# 09:15:10 |
mingwandroid |
I approve whole-heartedly |
# 09:15:14 |
bhundven |
:) |
# 09:15:52 |
bhundven |
well, not just os, but the toolchain for the build system (could be clang on linux...) |
# 09:16:02 |
bhundven |
and the architecture of said toolchain. |
# 09:16:19 |
bhundven |
x86_64 running as x32 |
# 09:16:25 |
bhundven |
shrugs |
# 09:16:46 |
bhundven |
all these multilib combinations |
# 09:18:01 |
bhundven |
so, without further ado... I'll remove the 'hacker-mode' patch and move forth. |
# 09:24:00 |
bhundven |
mingwandroid: and done. |
# 09:25:32 |
bhundven |
It's funny, technology. I get an email; two laptops, a tablet, a chromebook, and my cell phone all do their little "You have a new email!" notification. |
# 09:27:21 |
mingwandroid |
almost musical sometimes. |
# 09:27:51 |
bhundven |
I was thinking about making special wave files for each that make it one longer notification |
# 09:28:06 |
bhundven |
but what if the chromebook isn't on? |
# 09:28:19 |
bhundven |
or the tablet |
# 09:28:28 |
bhundven |
kinda sounds weird |
# 09:29:23 |
mingwandroid |
I got myself a treadmill desk yesterday :-) |
# 09:29:27 |
bhundven |
the android watch is kinda neat, because you can turn off the phone notifications if the watch is connected to the phone, to stop some of that multiple device notifications. |
# 09:29:34 |
bhundven |
mingwandroid: nice! |
# 09:29:42 |
bhundven |
mingwandroid: coder-sizing |
# 09:29:52 |
mingwandroid |
yup |
# 09:30:02 |
mingwandroid |
see how long before I keel over |
# 09:30:12 |
mingwandroid |
using the mouse is proving tricky |
# 09:30:14 |
bhundven |
or as linus called it: Zombie coding |
# 09:30:25 |
mingwandroid |
need to get some eyeball tracking on the go instead |
# 09:30:40 |
mingwandroid |
left eye blink for left click |
# 09:30:48 |
mingwandroid |
right eye blink for right click |
# 09:30:53 |
bhundven |
yikes |
# 09:30:53 |
mingwandroid |
what could go wrong? |
# 09:31:03 |
mingwandroid |
just got to synchroize them |
# 09:32:56 |
mingwandroid |
kinda finding it hard to concentrate and walk at the same time, but it's very easy to take a quick exercise break! |
# 09:33:15 |
mingwandroid |
then I have a standing desk the rest of the time |
# 09:33:46 |
mingwandroid |
the scenery kind of sucks on my walks though. Need VR |
# 09:33:55 |
bhundven |
heh |
# 09:34:10 |
mingwandroid |
take a google cardboard walk around some village in southern france or something. |
# 09:34:13 |
mingwandroid |
that'd be nice. |
# 09:34:21 |
mingwandroid |
with smell-o-vision. |
# 09:34:40 |
mingwandroid |
coffee that, not pigs though. |
# 09:34:44 |
mingwandroid |
* and that. |
# 09:34:46 |
bhundven |
:) |
# 09:41:26 |
mingwandroid |
* I should note by my pig reference I was not being rascist. I meant the traditional village smells of farming that are unpleasent in all countries :-) |
# 09:42:00 |
mingwandroid |
Indeed, personally I hope that the UK continues its partnership with the EU and this brexit stuff goes away. |
# 09:42:42 |
mingwandroid |
* Here I am not being jobist, if you enjoy farming and the smells it elicits, then that's great, each to their own. |
# 09:42:49 |
mingwandroid |
I will stop digging a hole at this point. |
# 09:43:30 |
bhundven |
enjoys popcorn, while futzing with autoconf |
# 09:43:41 |
bhundven |
:D |
# 09:44:15 |
mingwandroid |
bhundven: you should be asleep anyway. |
# 09:44:29 |
mingwandroid |
it must be what? 5am? |
# 09:44:37 |
bhundven |
1:44am |
# 09:45:03 |
bhundven |
no recuriter wants to talk with me, and my cell phone will be "disconnected" until monday anyways. |
# 09:45:03 |
mingwandroid |
Ah yeah, of course. |
# 09:45:20 |
mingwandroid |
what did you do to them? |
# 09:45:47 |
bhundven |
what did they do to me |
# 09:46:16 |
mingwandroid |
Yeah, I can't abide those people. |
# 09:46:17 |
bhundven |
"Oh, this is a perfect fit for you"... "Oh, that was just not a good fit for you..." |
# 09:46:36 |
bhundven |
gee, thanks for getting my hopes up! |
# 09:47:29 |
bhundven |
I lack network device driver experience, but it was no where on the job description. |
# 09:47:36 |
bhundven |
thanks. |
# 09:48:55 |
bhundven |
checking what OS the build system is... Darwin |
# 09:49:02 |
bhundven |
looks like I know autoconf |
# 09:49:04 |
bhundven |
:P |
# 09:49:28 |
bhundven |
put that in your m4 pipe and smoke it |
# 09:49:44 |
bhundven |
(sorry, job recruiters get me cross) |
# 09:56:26 |
bhundven |
CT_has_os_Darwin CT_has_os_Linux, basically: CT_has_os_$(uname -s) |
# 09:57:20 |
mingwandroid |
heh. |
# 09:57:52 |
mingwandroid |
on MSYS2: |
# 09:57:53 |
mingwandroid |
uname -s |
# 09:57:53 |
mingwandroid |
MSYS_NT-6.1 |
# 09:58:01 |
bhundven |
oh... hrm |
# 09:58:06 |
bhundven |
yea, that would not work |
# 09:58:21 |
mingwandroid |
we would be awkward eh? |
# 09:58:36 |
mingwandroid |
we inherited it from cygwin though |
# 09:58:43 |
mingwandroid |
they have CYGWIN_NT-6.1 |
# 09:58:44 |
bhundven |
damn, ok. I guess you have to do a check first |
# 09:58:52 |
mingwandroid |
that's windows 7 btw |
# 09:59:08 |
mingwandroid |
windows 10 is MSYS_NT-1.0. |
# 09:59:11 |
mingwandroid |
urgh |
# 09:59:13 |
mingwandroid |
-10.0 |
# 09:59:17 |
bhundven |
if uname -s | grep "Linux"; then os="linux"... |
# 09:59:39 |
bhundven |
if uname -s | grep "MSYS"; then os="msys"... |
# 10:00:14 |
bhundven |
err, I'm not sure how much granularity we need for msys, as far as version goes |
# 10:00:22 |
bhundven |
I figured that would be in uname -r |
# 10:00:28 |
bhundven |
as it should be |
# 10:01:14 |
bhundven |
what does uname -r say on msys? |
# 10:02:26 |
bhundven |
I think at this point, we don't care about version |
# 10:02:46 |
bhundven |
it's more about what OS do you have, mac always says Darwin |
# 10:02:51 |
bhundven |
Linux always says Linux |
# 10:03:09 |
bhundven |
cygwin/mingw-w64/msys... is windows |
# 10:08:12 |
bhundven |
mingwandroid: is that a valid statement? |
# 10:08:48 |
mingwandroid |
uname -r |
# 10:08:48 |
mingwandroid |
2.4.1(0.294/5/3) |
# 10:09:11 |
mingwandroid |
err, well, it depends what you're using this info for really. |
# 10:09:37 |
bhundven |
I mean to generalize CYGWIN*|MSYS*) in a case as "windows", or should we treat them differently? |
# 10:09:51 |
mingwandroid |
mostly you should! |
# 10:10:15 |
mingwandroid |
bundling early leads to pain I think |
# 10:10:22 |
mingwandroid |
then people asking you to unbundle again. |
# 10:10:27 |
bhundven |
true |
# 10:11:04 |
bhundven |
since I don't know the right path for windows, I'll start with linux and darwin, and leave the open path available for you in the cygwin/msys adventure :) |
# 10:11:42 |
bhundven |
we won't break on unknown |
# 10:12:02 |
bhundven |
it will just be: idk what you're running on, good luck! :D |
# 10:12:10 |
mingwandroid |
ok. they are all different gnu targets for example (msys/cygwin/mingw-w64) |
# 10:13:32 |
bhundven |
ok |
# 10:16:34 |
bhundven |
mingwandroid: I'm looking at something like this: http://code.bulix.org/jmh4ao-91924 |
# 10:17:44 |
bhundven |
the kconfig_os will end up being: CT_has_os_linux, for instance |
# 10:17:57 |
mingwandroid |
ok. please for me, add MSYS*) kconfig_os="os_msys";; |
# 10:17:58 |
mingwandroid |
too |
# 10:18:05 |
mingwandroid |
it'll just save a patch later. |
# 10:18:10 |
bhundven |
:) |
# 10:18:39 |
mingwandroid |
mingw is never a build system so it won't be needed. midipix may come along at some point, but we'll see, they're the lunatic fringe of tjhe windows world ;-) |
# 10:19:01 |
bhundven |
MSYS*) os="MSYS"; kconfig_os="os_msys";; |
# 10:19:09 |
mingwandroid |
yeaj |
# 10:19:11 |
bhundven |
done |
# 10:19:16 |
mingwandroid |
cheers! |
# 10:19:28 |
bhundven |
the lame part is I need to go test a bunch of other systems |
# 10:19:32 |
bhundven |
*bsd |
# 10:19:42 |
mingwandroid |
ah, those guys. |
# 10:20:15 |
bhundven |
I tried to port ct-ng to haiku-os |
# 10:20:22 |
bhundven |
:) |
# 10:20:24 |
mingwandroid |
heh. how'd that go? |
# 10:20:27 |
bhundven |
not so well |
# 10:20:35 |
mingwandroid |
do they have bash? |
# 10:20:39 |
bhundven |
yea |
# 10:20:46 |
mingwandroid |
that's a start! |
# 10:20:47 |
bhundven |
but they put packages in weird spots |
# 10:20:56 |
mingwandroid |
no, not anti-FHS? |
# 10:21:02 |
mingwandroid |
please tell me they're not that? |
# 10:21:34 |
bhundven |
I don't remember, but it wasn't normal ncurses |
# 10:21:56 |
bhundven |
was missing some symbols |
# 10:22:03 |
mingwandroid |
ok |
# 10:22:07 |
bhundven |
I gave up pretty quick |
# 10:22:31 |
bhundven |
but I have used ct-ng on older freebsd and openbsd |
# 10:23:01 |
bhundven |
I started to try fbsd 10 and 11, but looks like they are using clang on 11 |
# 10:24:07 |
bhundven |
the thing about detecting the OS like this, and making decisions based on the OS is we start to add divergence in the code based on the OS we are on instead of being portable |
# 10:24:24 |
bhundven |
but gcc and clang can sometimes not be so portable side-by-side |
# 10:24:29 |
bhundven |
then add windows... |
# 10:24:42 |
bhundven |
it's not even portable with itself |
# 10:26:27 |
mingwandroid |
well, we must just be careful about what we allow. |
# 10:26:49 |
mingwandroid |
things like "OS X makes static linking really difficult by default" |
# 10:27:31 |
mingwandroid |
ok fair enough for us to turn that off so that the samples configs build. |
# 10:27:59 |
mingwandroid |
but we should be very careful about overstepping |
# 10:28:13 |
bhundven |
really, the right way to go with the whole static linking thing is |
# 10:28:29 |
mingwandroid |
definitely we should look to fix things rather than disabling them .. |
# 10:28:33 |
bhundven |
to run a check to see if we can compile a static binary |
# 10:28:48 |
bhundven |
then set a kconfig option (NO_STATIC) |
# 10:28:52 |
mingwandroid |
yeah, that's true actually. |
# 10:29:15 |
bhundven |
so I'll nix this effort |
# 11:29:41 |
mingwandroid |
ok, feature based is better I agree. |
# 11:31:13 |
bhundven |
ok, I got something kinda nasty working :D |
# 11:31:56 |
bhundven |
I'll post the PR in a second |
# 11:37:32 |
bhundven |
https://github.com/crosstool-ng/crosstool-ng/pull/356 |
# 11:39:01 |
bhundven |
then you can add: depends on CT_has_gcc_can_static_link=y |
# 11:39:11 |
bhundven |
to options that handle static linking |
# 11:47:27 |
bhundven |
tested on mac and linux |
# 11:48:18 |
bhundven |
I was wrong about the name |
# 11:48:30 |
bhundven |
it's CT_CONFIGURE_has_gcc_can_static_link |
# 11:48:35 |
bhundven |
gesh, kinda long |
# 11:51:23 |
bhundven |
I updated it so it's CT_CONFIGURE_static_link |
# 11:51:39 |
bhundven |
I updated it so it's CT_CONFIGURE_has_static_link |
# 11:54:04 |
bhundven |
better |
# 12:00:51 |
bhundven |
updated the PR to have another commit to use the new option |
# 12:02:27 |
bhundven |
here is the right travis-ci for the commit: https://travis-ci.org/crosstool-ng/crosstool-ng/builds/111987589 |
# 12:03:24 |
bhundven |
although, idk why it's not running. |
# 12:03:44 |
bhundven |
nm, there it goes |
# 12:05:23 |
bhundven |
mingwandroid: ok, test that pr, it should be good to go :) |
# 12:05:49 |
mingwandroid |
ok, I'm stuck into work now, so I'll get to it on the weekend now. |
# 12:05:53 |
bhundven |
no prob |
# 12:06:49 |
bhundven |
4:06am, so I'm gonna checkout now. have a good day at work! |
# 12:07:39 |
mingwandroid |
cheers! |
# 12:07:53 |
mingwandroid |
wrestling mac os x, so could be better. |
# 12:22:11 |
bhundven |
I wonder if that should be 'cc' and not 'gcc' |
# 12:22:27 |
bhundven |
I'll check fbsd tomorrow |
# 12:30:40 |
blueness |
quits : Quit: blueness |
# 12:49:19 |
blueness |
joins #crosstool-ng |
# 12:51:49 |
blueness |
quits : Client Quit |
# 12:52:09 |
blueness |
joins #crosstool-ng |
# 13:00:59 |
blueness |
quits : Quit: blueness |
# 13:01:15 |
blueness |
joins #crosstool-ng |
# 13:04:11 |
blueness |
quits : Client Quit |
# 14:53:01 |
alkino |
joins #crosstool-ng |
# 15:16:49 |
blueness |
joins #crosstool-ng |
# 16:26:08 |
mingwandroid |
quits : Read error: Connection reset by peer |
# 17:06:10 |
y_morin |
joins #crosstool-ng |
# 17:14:34 |
aleek1 |
joins #crosstool-ng |
# 17:20:36 |
aleek |
quits : *.net *.split |
# 17:21:11 |
alkino |
I think I got an error with crosstool-ng |
# 17:21:56 |
alkino |
I got a linux-blabla.tar.xz in a directory. In my .config I tell to use "linux-foobar.tar.xz" |
# 17:22:26 |
alkino |
I got "Testing ! ( -z MyDirectory -a -z MyDirectory/linux-foobar.tar.xz )" |
# 17:22:32 |
alkino |
should failed but ... no |
# 17:23:31 |
alkino |
so "xz -fdc linux-foobar.tar.xz | tar ..." create linux-custom.tar.xz in .build/src and .linux-custom.extracting is created |
# 17:23:45 |
alkino |
it's empty but... |
# 17:24:14 |
alkino |
sorry it creates "linux-custom" in .build/src |
# 17:24:29 |
alkino |
ct-ng stop here with an error. |
# 17:24:53 |
alkino |
I relaunch ./ct-ng build and now it thinks linux-custom is fine and continue |
# 17:25:27 |
alkino |
"Testing" failed, "xz" failed, "tar" failed but for ct-ng it is ok. |
# 17:27:31 |
diorcety1 |
quits : Ping timeout: 252 seconds |
# 18:11:01 |
alkino |
quits : Quit: WeeChat 1.4 |
# 18:16:42 |
diorcety |
joins #crosstool-ng |
# 21:25:41 |
diorcety |
quits : Quit: Leaving. |
# 22:20:38 |
enunes |
quits : Quit: leaving |
# 23:22:19 |
y_morin |
quits : Quit: Nighty Night! ;-) |