Problem compiling with golang. #115
Labels
No Label
blocked upstream
bug
build-failure
duplicate
enhancement
help wanted
informational
invalid
invalid/corrupt package
packaging issue
priority: high
question
support
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ALHP/ALHP.GO#115
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, I can't compile snapd with go:
I think something needs to be recompiled with GCC 12, however I'm not sure what exactly. I tried compiling and installing go myself and I still get the error.
Yeah, I think we need to recompile all packages once with GCC 12 and also bump the pkgrel. Is this possible @anonfunc?
Probably not all, but a few have these problems because gcc is not mandatory to list as makedep because its in base-devel (which is fine), but ALHP did not take that into account until
f190902b41
.I'll try to figure out what causes your specific issue, so that we can queue it with gcc 12 again.
Looks like the lastest update to go fixed the issue.
@anonfunc btw the "1to1" sounds like we/Arch are/is using
-flto-partition=1to1
atm? 🤔That would be quite suboptimal compared to the
-flto-partition=dynamic
which is the standard.However #117 contains a patch to set it to
-flto-partition=one
which can cross boundaries between sourcecode objects in the first pass and supposedly avoid some issues with compiling programs - with the drawback of loading the full program into memory and do single thread processing on it.We and Archlinux are using
-flto-partition
's default. You can always check their makepkg.conf in devtools to know what they are currently using, since this config gets used by all build-helpers (and so the packagers; it's also the basis for our own makepkg.conf).Ah thanks. I was under the impression that the makepkg.conf of arch itself was beeing used (which is part of the pacman package).
Thanks for the clarification!
So Arch/we should be using the default which is
-flto-partition=dynamic
.