/srv/irclogs.ubuntu.com/2014/02/19/#ubuntu-arm.txt

=== zz_anmar is now known as anmar
=== anmar is now known as zz_anmar
=== zz_anmar is now known as anmar
=== anmar is now known as zz_anmar
=== zz_anmar is now known as anmar
suihkulokkiwookey, actually, aarch64 uname version should be just fine if you use the upstream release11:26
suihkulokkis/release/head/11:26
suihkulokkiinfinity: I just checked what it would require to do the hack properly, and as far as I see it already has been done :P11:28
=== doko_ is now known as doko
=== anmar is now known as zz_anmar
=== zz_anmar is now known as anmar
wookeysuihkulokki: I was using the 'master' branch that ajb pointed me at. that is upstream isn;t it?13:42
wookeyunless that fix has been added in last couple of days13:43
suihkulokkiwookey: it's been there for a while - I guess you used debian packaging?13:52
suihkulokkiwookey: if so.. just remove the --enable-uname-release since that will override the default in the code13:53
wookeysuihkulokki: I put upstream source into debian packaging14:00
wookeyI'll rebuild without the patch and that config option.14:02
wookeyBut there is something else wrong anyway. (it works outside a chroot but not inside - tying to track down the issue)14:02
infinitysuihkulokki: Really?  As of when?19:02
suihkulokkiinfinity, as of when aarch64s support was merged19:25
suihkulokkiinfinity: but you are breaking it with the configure override19:26
infinitysuihkulokki: Right, my hack is specifically to override the override. :P19:26
infinitysuihkulokki: Since we build all flavours at once, and we want most at 2.6.32.19:27
suihkulokkiinfinity: no you don't want19:27
infinityAs a matter of fact, I do.19:29
suihkulokkitrust me, you don't :)19:29
infinityqemu-user has this braindead notion that without that configure flag, it should just bubble up the underlying uname, which is actually a completely useless lie.19:29
infinityGiven that qemu-user is a syscall *emulator*, not a syscall *passthrough*, the underlying kernel isn't what's important at all, it's what interfaces qemu-user provides that are important.19:31
infinityI consider it a fundamental flaw that it doesn't actually just define itself what interfaces it claims to support and give you that for uname, but it doesn't.  And falling back to telling me my qemu-use-arm (for instance) is "2.6.24" just cause my host system seems to be that isn't helpful in the least.19:32
infinityHence why we use the configure override, which is also a lie, but at least one that's easier to live with, since glibc won't *run* on a kernel that claims to be older than that.19:32
suihkulokkiyep, and with that flag, you are telling guest binaries never to use any syscall that is newer than 2.6.2419:33
infinity2.6.32, you mean.19:33
suihkulokkiwhatever you are passing19:33
infinityAnd yes, that's intentional.  Just as we pass the same thing to glibc builds.19:34
suihkulokkinow, if you actually look at what we did for qemu19:34
infinityThe idea being that it all should run fine on chroots on lucid/squeeze/rhel6.19:34
suihkulokkii know19:35
suihkulokkibut you are not listening to me19:35
infinityAnyhow, let me put this another way.  We *need* that configure override on Ubuntu virt PPAs.  If Debian doesn't need or require it, that's fine, but the Ubuntu usage of it can't go away.19:35
suihkulokkithe new qemu has it done properly19:36
infinityBecause letting qemu tell my userspace that it's 2.6.24 because it's running on a hardy Xen kernel is *wrong*.19:36
suihkulokkiyou used to need the configure flag previously19:36
infinityIf the new qemu actually does what I said should be done (tells me what it *supports*, not what it's running on), that would solve my issue, for sure.19:36
infinityBut by "new qemu", I assume you mean git mainline, not 1.7.0.19:37
infinityThat's really the only sane way to do it, so I'm happy to hope they have. :P19:39
infinityCause the inverse problem is equally wrong.  Running on a 3.13 kernel shouldn't tell me that I'm using 3.13, if qemu-user-$arch has only implemented syscalls up to 3.6, for instance.19:40
=== anmar is now known as zz_anmar
=== zz_anmar is now known as anmar
=== anmar is now known as zz_anmar
=== zz_anmar is now known as anmar
=== anmar is now known as zz_anmar

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!