Skip to content

Conversation

TanelDettenborn
Copy link

nixpkgs unstable has removed gcc12Stdenv and below support. The next "oldest" is gcc13Stdenv.

Description of changes

Jetson 36.x; Anticipating upcomming nixpkgs update(s) and therefore switching directly to use gcc13Stdenv. Officially NVIDIA uses gcc11.

Jetson 35.x: Keeps gcc9 as per NVIDIA recommends.

Testing

NX target evaluates and compiles. Boots with iso_minimal.

Jetson 36.x will use gcc13Stdenv and older Jetson version will
keep using gcc9Stdenv. Change is driven by remove of older
gccXStdenv version from nixpkgs unstable.

Signed-off-by: Tanel Dettenborn <[email protected]>
Copy link
Contributor

@brianmcgillion brianmcgillion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

# uses gcc11
#
# Jetson 35.x: Keeping gcc9 as per NVIDIA recommends
stdenv = if self.l4tAtLeast "36" then final.gcc13Stdenv else final.gcc9Stdenv;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JetPack 5 devices remain broken with this change. I suspect we can upgrade all OP-TEE versions to gcc13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants