Go to advanced search

by ShiftPlusOne
Wed Dec 01, 2021 5:02 pm
Forum: C/C++
Topic: Compiled code on amrv7l do no longer run on armv6l since PiOS 11
Replies: 28
Views: 742

Re: Compiled code on amrv7l do no longer run on armv6l since PiOS 11

I promise you it's not. Clean 2021-10-30-raspios-bullseye-armhf.img: # apt policy libc6-dev-armhf-cross libc6-dev-armhf-cross: Installed: (none) Candidate: 2.31-9cross4 Version table: 2.31-9cross4 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Grepping through all the ...
by ShiftPlusOne
Wed Dec 01, 2021 4:50 pm
Forum: C/C++
Topic: Compiled code on amrv7l do no longer run on armv6l since PiOS 11
Replies: 28
Views: 742

Re: Compiled code on amrv7l do no longer run on armv6l since PiOS 11

You can see the list of packages in the image here: https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2021-11-08/2021-10-30-raspios-bullseye-armhf.info That package is definitely not there. You could check /var/log/apt/history.log*, which might contain a hint as to where it came f...
by ShiftPlusOne
Wed Dec 01, 2021 4:41 pm
Forum: C/C++
Topic: Compiled code on amrv7l do no longer run on armv6l since PiOS 11
Replies: 28
Views: 742

Re: Compiled code on amrv7l do no longer run on armv6l since PiOS 11

libc6-dev-armhf-cross is not default on any official images. It would've been installed after the image was flashed.

I was going to ask about that, but figured it's moot, since even if you install the package, it shouldn't break the compiler (in an ideal world).
by ShiftPlusOne
Wed Dec 01, 2021 3:43 pm
Forum: Troubleshooting
Topic: dhcpcd vs interfaces file
Replies: 9
Views: 227

Re: dhcpcd vs interfaces file

ifupdown (/etc/network/interfaces) is still fine and usable. Don't know whether it's fair to say that it's obsolete or deprecated, but Debian does refer to it as the 'legacy' option (https://www.debian.org/doc/manuals/debian-reference/ch05.en.html). During the transition to dhcpcd5, we had a snippet...
by ShiftPlusOne
Wed Dec 01, 2021 8:44 am
Forum: C/C++
Topic: Compiled code on amrv7l do no longer run on armv6l since PiOS 11
Replies: 28
Views: 742

Re: Compiled code on amrv7l do no longer run on armv6l since PiOS 11

Aha.... I can reproduce the issue if I have libc6-dev-armhf-cross installed. If you uninstall that package, it should build normally. Not 100% sure why it's set up this way yet. Edit: I've passed this on to the maintainer of Raspbian, who would have a much better idea what the real solution here sho...
by ShiftPlusOne
Wed Dec 01, 2021 8:40 am
Forum: C/C++
Topic: Compiled code on amrv7l do no longer run on armv6l since PiOS 11
Replies: 28
Views: 742

Re: Compiled code on amrv7l do no longer run on armv6l since PiOS 11

Your build seems to be using /usr/arm-linux-gnueabihf/lib/crt1.o, which is not a file present on my system.

Code: Select all

dpkg -S  /usr/arm-linux-gnueabihf/lib/crt1.o
objdump -d /usr/arm-linux-gnueabihf/lib/crt1.o
by ShiftPlusOne
Wed Dec 01, 2021 8:02 am
Forum: C/C++
Topic: Compiled code on amrv7l do no longer run on armv6l since PiOS 11
Replies: 28
Views: 742

Re: Compiled code on amrv7l do no longer run on armv6l since PiOS 11

That looks okay.

How about:

Code: Select all

objdump -d /usr/lib/arm-linux-gnueabihf/crt1.o
apt policy libc6-dev
Maybe the full file access log of the build could help see what's going on:

Code: Select all

strace -f -e trace=file -o build.log gcc -g main.c
by ShiftPlusOne
Wed Dec 01, 2021 3:04 am
Forum: C/C++
Topic: Compiled code on amrv7l do no longer run on armv6l since PiOS 11
Replies: 28
Views: 742

Re: Compiled code on amrv7l do no longer run on armv6l since PiOS 11

What's the output of 'gcc -v'? I'm not seeing mov.w in my build: 000102e0 <_start>: 102e0: e3a0b000 mov fp, #0 102e4: e3a0e000 mov lr, #0 102e8: e49d1004 pop {r1} ; (ldr r1, [sp], #4) 102ec: e1a0200d mov r2, sp 102f0: e52d2004 push {r2} ; (str r2, [sp, #-4]!) 102f4: e52d0004 push {r0} ; (str r0, [sp...
by ShiftPlusOne
Wed Nov 10, 2021 12:25 pm
Forum: General discussion
Topic: TVHeadend gone missing
Replies: 10
Views: 529

Re: TVHeadend gone missing

Since the buster version is confirmed to work, I'll add it to bullseye before it is updated properly.
by ShiftPlusOne
Tue Nov 09, 2021 2:17 am
Forum: General discussion
Topic: TVHeadend gone missing
Replies: 10
Views: 529

Re: TVHeadend gone missing

It will be added again. So far the focus has been on the packages that come in the images, but I'll be working through the whole list.
by ShiftPlusOne
Thu Oct 07, 2021 10:49 am
Forum: Raspberry Pi OS
Topic: No source package for libc6=2.28-10+rpt2+rpi1
Replies: 1
Views: 138

Re: No source package for libc6=2.28-10+rpt2+rpi1

You forgot about /etc/apt/sources.list.d/raspi.list
by ShiftPlusOne
Mon Oct 04, 2021 5:09 pm
Forum: Troubleshooting
Topic: Chromium-Browser 92.0.4515.98~buster-rpt1
Replies: 34
Views: 4288

Re: Chromium-Browser 92.0.4515.98~buster-rpt1

I'm surprised that you would get an error like that rather than ENOENT or something looking for the file. That's chromium for ya. is it a bug and/or some package is missing a dependency? It should "just work" now, but if people are still seeing issues after today's update, please shout.
by ShiftPlusOne
Mon Oct 04, 2021 10:16 am
Forum: Troubleshooting
Topic: Chromium-Browser 92.0.4515.98~buster-rpt1
Replies: 34
Views: 4288

Re: Chromium-Browser 92.0.4515.98~buster-rpt1

libgtk-3-0 seems to be the missing package.
by ShiftPlusOne
Fri Oct 01, 2021 11:40 am
Forum: Troubleshooting
Topic: Chromium-Browser 92.0.4515.98~buster-rpt1
Replies: 34
Views: 4288

Re: Chromium-Browser 92.0.4515.98~buster-rpt1

I've just tried the lite image, installed openbox, xinit and chromium-browser, put chromium-browser in .xinitrc, ran startx and it worked as expected.

Could someone run it with "LD_DEBUG=all strace -f -s 256 chromium-browser > log.txt 2>&1" and upload log.txt?
by ShiftPlusOne
Thu Sep 30, 2021 8:00 am
Forum: Troubleshooting
Topic: Chromium-Browser 92.0.4515.98~buster-rpt1
Replies: 34
Views: 4288

Re: Chromium-Browser 92.0.4515.98~buster-rpt1

Looks like all the people having issues here are starting with a lite image rather than the desktop. Maybe there's a missing dependency. I'll take a look later.
by ShiftPlusOne
Wed Sep 29, 2021 9:06 am
Forum: Troubleshooting
Topic: Chromium-Browser 92.0.4515.98~buster-rpt1
Replies: 34
Views: 4288

Re: Chromium-Browser 92.0.4515.98~buster-rpt1

Starting from a clean desktop image from the downloads page, how do I reproduce the problem?
by ShiftPlusOne
Tue Sep 28, 2021 2:39 pm
Forum: Troubleshooting
Topic: Chromium-Browser 92.0.4515.98~buster-rpt1
Replies: 34
Views: 4288

Re: Chromium-Browser 92.0.4515.98~buster-rpt1

You could try running chromium-browser with '--enable-logging=stderr --v=2 > log.txt 2>&1' to see if you get anything interesting in log.txt.
by ShiftPlusOne
Tue Sep 28, 2021 2:30 pm
Forum: Troubleshooting
Topic: Chromium-Browser 92.0.4515.98~buster-rpt1
Replies: 34
Views: 4288

Re: Chromium-Browser 92.0.4515.98~buster-rpt1

The 'chromium' package doesn't run on armv6, so that's not a solution.

I haven't been able to reproduce the issue on my pi zero.
by ShiftPlusOne
Tue Sep 28, 2021 12:59 pm
Forum: Networking and servers
Topic: dhcpcd5 update broken in bullseye Raspberry Pi OS?
Replies: 16
Views: 3345

Re: dhcpcd5 update broken in bullseye Raspberry Pi OS?

Updated raspberrypi-sys-mods to automatically fix wait.conf and (un-)predictable interface names on upgrade.
by ShiftPlusOne
Tue Sep 28, 2021 11:42 am
Forum: Networking and servers
Topic: dhcpcd5 update broken in bullseye Raspberry Pi OS?
Replies: 16
Views: 3345

Re: dhcpcd5 update broken in bullseye Raspberry Pi OS?

Seeing some issues with interface names as well now. Looking into it.

EDIT: False alarm, it's working as expected here.
by ShiftPlusOne
Tue Sep 28, 2021 1:54 am
Forum: Networking and servers
Topic: dhcpcd5 update broken in bullseye Raspberry Pi OS?
Replies: 16
Views: 3345

Re: dhcpcd5 update broken in bullseye Raspberry Pi OS?

Milliways wrote:
Tue Sep 28, 2021 1:07 am
dpc wrote:
Mon Sep 27, 2021 8:40 pm
Also, the raspi-config for "predictable network i/f names" is still broken with this update.
It is possible to restore eth0 etc with the option net.ifnames=0 in cmdline.txt
Shouldn't be necessary with the latest bullseye version of raspi-config.
by ShiftPlusOne
Mon Sep 27, 2021 9:17 pm
Forum: Networking and servers
Topic: dhcpcd5 update broken in bullseye Raspberry Pi OS?
Replies: 16
Views: 3345

Re: dhcpcd5 update broken in bullseye Raspberry Pi OS?

Also to note, we haven't released bullseye nor do we recommend upgrading to bullseye. There are things we know are broken and things that will continue to be broken unless you start with a clean image (once it's released) I will make an exception for this case and make it possible to upgrade dhcpcd5...
by ShiftPlusOne
Mon Sep 27, 2021 9:14 pm
Forum: Networking and servers
Topic: dhcpcd5 update broken in bullseye Raspberry Pi OS?
Replies: 16
Views: 3345

Re: dhcpcd5 update broken in bullseye Raspberry Pi OS?

There's some confusing terminology about 'predictable' interface names. What some people consider to be 'predictable' isn't exactly what systemd's developers meants.

What exactly are you expecting and what exactly are you seeing?
by ShiftPlusOne
Mon Sep 27, 2021 6:59 pm
Forum: Networking and servers
Topic: dhcpcd5 update broken in bullseye Raspberry Pi OS?
Replies: 16
Views: 3345

Re: dhcpcd5 update broken in bullseye Raspberry Pi OS?

No package owns that file. It's added by raspi-config if you use the 'wait for network' option. Try disabling and re-enabling that option, which I believe should make it work if your raspi-config package is up to date.

Go to advanced search