mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Sascha Hauer" <sascha@saschahauer.de>
To: "Stefan Kerkmann" <s.kerkmann@pengutronix.de>
Cc: "open list:BAREBOX" <barebox@lists.infradead.org>,
	"Stefan Kerkmann" <s.kerkmann@pengutronix.de>
Subject: Re: [PATCH v3 2/8] ARM/ARM64/RISC-V: pbl: add constructor support
Date: Wed, 19 Aug 2026 09:39:31 +0000	[thread overview]
Message-ID: <eadca986-31ce-4ae7-b2e2-a3839b1af6d9@saschahauer.de> (raw)
In-Reply-To: <20260817-feature-pbl-get-time-ns-v3-2-9874c1438855@pengutronix.de>

Hi Stefan,

On 2026-08-17 16:01, Stefan Kerkmann wrote:
> This commit allows running functions marked with
> __attribute__((constructor))[1] automatically after the C environment is
> setup in setup_c, which most likely will be early setup code shared
> across SoCs/Arches in the PBL.

This breaks hosttools_defconfig, sandbox_defconfig and targettools_defconfig with:

/usr/bin/ld: pbl/ctors.pbl.o: in function `pbl_do_ctors':
ctors.c:(.text.pbl_do_ctors+0x9): undefined reference to `__ctors_end'
/usr/bin/ld: ctors.c:(.text.pbl_do_ctors+0x11): undefined reference to `__ctors_start'

Could you send a fixup?




  parent reply	other threads:[~2026-08-19  9:41 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17 14:01 [PATCH v3 0/8] PBL: enable timeouts in read_poll_timeout macros Stefan Kerkmann
2026-08-17 14:01 ` [PATCH v3 1/8] RISC-V: setup_c: avoid clearing BSS twice Stefan Kerkmann
2026-08-17 14:01 ` [PATCH v3 2/8] ARM/ARM64/RISC-V: pbl: add constructor support Stefan Kerkmann
2026-08-18 12:08   ` [PATCH] amend! " Stefan Kerkmann
2026-08-19  9:39   ` Sascha Hauer [this message]
2026-08-17 14:01 ` [PATCH v3 3/8] clocksource: allow re-init for same clock Stefan Kerkmann
2026-08-17 14:01 ` [PATCH v3 4/8] drivers: arm_architected_timer: refactor for pbl compatibility Stefan Kerkmann
2026-08-20  7:04   ` Sascha Hauer
2026-08-20  7:32     ` Stefan Kerkmann
2026-08-20  8:00       ` Sascha Hauer
2026-08-20  8:07         ` Stefan Kerkmann
2026-08-17 14:01 ` [PATCH v3 5/8] ARM: layerscape: re-init pbl clocksource Stefan Kerkmann
2026-08-17 15:42   ` Ahmad Fatoum
2026-08-20  6:59   ` Sascha Hauer
2026-08-20  8:06     ` Stefan Kerkmann
2026-08-17 14:01 ` [PATCH v3 6/8] ARM: socfpga: agilex5: " Stefan Kerkmann
2026-08-17 14:01 ` [PATCH v3 7/8] ARM64: enable PBL_CLOCKSOURCE compatibility Stefan Kerkmann
2026-08-17 14:01 ` [PATCH v3 8/8] linux/iopoll: enable polled timeouts for PBL_CLOCKSOURCE Stefan Kerkmann
2026-08-19  7:03 ` [PATCH v3 0/8] PBL: enable timeouts in read_poll_timeout macros Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eadca986-31ce-4ae7-b2e2-a3839b1af6d9@saschahauer.de \
    --to=sascha@saschahauer.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.kerkmann@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox