[Bug 250932] lang/gcc10: fails to build on aarch64

2021-01-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

Gerald Pfeifer  changed:

   What|Removed |Added

   Assignee|toolch...@freebsd.org   |ger...@freebsd.org

--- Comment #14 from Gerald Pfeifer  ---
(In reply to Mikael Urankar from comment #13)
> I'll be able to test it in early january.

I engaged with others upstream, and there's essentially this change now,
which we'll get with the next update of lang/gcc10-devel that I plan for
tomorrow.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-12-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

--- Comment #13 from Mikael Urankar  ---
(In reply to Gerald Pfeifer from comment #10)
I'll be able to test it in early january.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-12-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

Mark Linimon  changed:

   What|Removed |Added

 Attachment #221046|0   |1
is obsolete||

--- Comment #12 from Mark Linimon  ---
Created attachment 221049
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221049=edit
reworked aarch64 patch file

properly reformatted file files/patch-gcc_config_aarch64_aarch64-builtins.c ,
currently under test.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-12-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

--- Comment #11 from Mark Millard  ---
(In reply to Gerald Pfeifer from comment #9)

I'm aware of the tradeoffs with using BOOTSTRAP off.

But my time preferences are such that on small arm boards and the like I
normally use BOOTSTRAP off: BOOTSTRAP makes a big build-time difference
in those contexts. I do sometimes do a BOOTSTRAP based build as a cross
check on the status.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-12-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

Gerald Pfeifer  changed:

   What|Removed |Added

 Status|New |In Progress

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-12-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

Gerald Pfeifer  changed:

   What|Removed |Added

 Attachment #219435|0   |1
is obsolete||

--- Comment #10 from Gerald Pfeifer  ---
Created attachment 221046
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221046=edit
Proposed patch for aarch64

(In reply to Gerald Pfeifer from comment #7)
> Approved by: gerald (maintainer)
>
> And I'll see that I get us to a fix via upstream in time for GCC 10.3.

Instead of the Makefile change, can you please give this patch a try?

This is what likely is going to get in upstream. I could not build test
this, so if there's a \ or ; or the like missing somewhere, it would be
great if you could adjust.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-12-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

--- Comment #9 from Gerald Pfeifer  ---
(In reply to Mark Millard from comment #8)
> My guess is that my options made the difference
> [...]
>BOOTSTRAP  : off
>GRAPHITE   : off

BOOTSTRAP=off means that GCC never builds itself (and hence never fully
exercises itself). In that case this may have helped; in general I recommend
against it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-12-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

Mark Millard  changed:

   What|Removed |Added

 CC||marklmi26-f...@yahoo.com

--- Comment #8 from Mark Millard  ---
(In reply to Mikael Urankar from comment #0)

On head -r368500 on aarch64 (and more) I recently had poudriere
build updated ports ( -r558163 ). gcc10.2.0 is one of the things
that built (and I later installed).

But I see that:

http://ampere2.nyi.freebsd.org/data/head-arm64-default/p557699_s368500/logs/errors/gcc10-10.2.0.log

shows the kind of error that you report.

My guess is that my options made the difference
(pkg info output):

Options:
BOOTSTRAP  : off
GRAPHITE   : off

vs. what the ampere2 log shows:

===> The following configuration options are available for gcc10-10.2.0:
 BOOTSTRAP=on: Build using a full bootstrap
 GRAPHITE=off: Support for Graphite loop optimizations

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-12-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

--- Comment #7 from Gerald Pfeifer  ---
I believe this is fundamentally wrong both in principle (mixing C++
standards) and in not working via upstream, but having not been able
to push the latter myself and this being contained, please go ahead.

Approved by: gerald (maintainer)

And I'll see that I get us to a fix via upstream in time for GCC 10.3.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-11-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

Mikael Urankar  changed:

   What|Removed |Added

 Blocks||246700


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246700
[Bug 246700] [exp-run] Update GCC_DEFAULT from 9 to 10
-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-11-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

--- Comment #6 from Mark Linimon  ---
I can confirm gcc10 builds on aarch64 under qemu using this patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-11-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

--- Comment #5 from Mikael Urankar  ---
(In reply to Gerald Pfeifer from comment #4)
I haven't tried an earlier FreeBSD version

llvm8, llvm90, llvm10 and llvm10 all fail the same way.

with gcc9, it's only a warning:
gcc/config/aarch64/aarch64-builtins.c:1227:21: warning: extended initializer
lists only available with '-std=c++11' or '-std=gnu++11'

gcc11-devel has switched to std=c++11 so it's a gcc problem not a llvm one

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"


[Bug 250932] lang/gcc10: fails to build on aarch64

2020-11-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250932

Gerald Pfeifer  changed:

   What|Removed |Added

   Assignee|ger...@freebsd.org  |toolch...@freebsd.org
 CC||ger...@freebsd.org

--- Comment #4 from Gerald Pfeifer  ---
Thanks for giving gcc10-devel a spin, too. 

To me this looks like clang induced breakage, and on 13-CURRENT only?
Is it possible this is something clang should/could address, or should
we see whether upstream GCC has an idea?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"