Opened 16 months ago
Last modified 10 months ago
#62184 new defect
gcc-devel on big sur Apple Silicon w/ xcode 12.4 fails to assemble pc-relative literal loads
Reported by: | blu (Martin Krastev) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | arm64 | Cc: | |
Port: | gcc-devel |
Description
gcc-devel @11-20210124 on big sur Apple Silicon w/ xcode 12.4 fails to assemble pc-relative literal loads (-mpc-relative-literal-loads)
// repro.cpp int __attribute__ ((vector_size(sizeof(int) * 4))) x; int const __attribute__ ((vector_size(sizeof(int) * 4))) y = { 1, 2, 3, 4 }; int main(int, char**) { int const __attribute__ ((vector_size(sizeof(int) * 4))) z = x * y; return z[0] + z[1] + z[2] + z[3]; } $ xcrun g++-mp-devel repro.cpp -mpc-relative-literal-loads
Change History (3)
comment:1 Changed 16 months ago by ryandesign (Ryan Schmidt)
Keywords: | arm64 added |
---|
comment:2 Changed 16 months ago by kencu (Ken)
The exact place to report this is here, for the time being:
comment:3 Changed 10 months ago by michaelld (Michael Dickens)
Is this still relevant with gcc-devel for ARM64 now at 12-20210716?
Note: See
TracTickets for help on using
tickets.
You probably want to report this upstream; it's unlikely to be a MacPorts-specific problem.