Re: On a powerpc64, system-clang crashes on audio/alsa-lib 's control.lo : "error in backend: A @@ version cannot be undefined"

2018-10-12 Thread Jan Beich
Mark Millard writes: > The following is on a powerpc64 machine (old PowerMac G5 so-called > "Quad Core") running a personal build of head -r339076 that was > built via devel/powerpc64-xtoolchain-gcc and such (no gcc 4.2.1). > The compiler for the port build is system-clang (so clang 6 as cc), > n

powerpc64 example, base/binutils presence vs. devel/powerpc64-gcc build failure: "phase: build-depends" confused then gcc config aborts build

2018-10-12 Thread Mark Millard via freebsd-toolchain
The following is from attempting to build devel/powerpc-gcc via poudriere-devel on the powerpc64 system after having bootstrapped via (in part) base/binutils and the .txz produced on the host (amd64). Looks like having both: /usr/bin/powerpc64-unknown-freebsd12.0-* and: /usr/local/bin/powerpc64-u

Two example patches: enable powerpc64 builds of devel/powerpc64-gcc and lang/gcc8 via system-clang ( avoiding clang's reserving vec_step )

2018-10-12 Thread Mark Millard via freebsd-toolchain
[I experiment with using modern compilers on powerpc64, here buildworld buildkernel was via devel/powerpc64-xtoolchain-gcc but included building clang and having clang as cc. clang's problems are tied to aspects of buildworld buildkernel but is otherwise usable.] When clang is built with support f

FYI: powerpc64 headbuilt via devel/powerpc64-xtoolchain-gcc and C++ exceptions for user code built by system-clang or devel/powerpc64-gcc (as of head -r339076 and ports -r480180)

2018-10-12 Thread Mark Millard via freebsd-toolchain
I built a powerpc64 head -r339076 via devel/powerpc64-gcc and the like that built clang as cc as well (and WITHOUT_LIB32). This included use of base/binutils to the the powerpc64 set up. The system and kernel are non-debug builds (but with symbols). [system-clang is not used for buildworld buildker

Re: On a powerpc64, system-clang crashes on audio/alsa-lib 's control.lo : "error in backend: A @@ version cannot be undefined"

2018-10-12 Thread Dimitry Andric
On 12 Oct 2018, at 15:00, Jan Beich wrote: > > Mark Millard writes: >> The following is on a powerpc64 machine (old PowerMac G5 so-called >> "Quad Core") running a personal build of head -r339076 that was >> built via devel/powerpc64-xtoolchain-gcc and such (no gcc 4.2.1). >> The compiler for th

Re: On a powerpc64, system-clang crashes on audio/alsa-lib 's control.lo : "error in backend: A @@ version cannot be undefined"

2018-10-12 Thread Jan Beich
Dimitry Andric writes: > http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=3bad0a21b4d13d8d10691f382c836897fa7a7cb9 > > You might want to try if that also works for you. Applied in r481945. Let's see what happens. ;) ___ freebsd-toolchain@freebsd.

"base/binutils should not be pulling in any other ports at all"? (That confuses me.)

2018-10-12 Thread Mark Millard via freebsd-toolchain
On 2018-Oct-10, at 3:13 PM, John Baldwin wrote: > On 10/6/18 12:22 PM, Mark Millard via freebsd-toolchain wrote: >> [Actually devel/gettext-tools is a build time dependency: it should not be >> using >> libtool: link: /usr/local/bin/powerpc64-unknown-freebsd12.0-gcc --sysroot=. >> . . >> It loo

Re: "base/binutils should not be pulling in any other ports at all"? (That confuses me.)

2018-10-12 Thread Mark Millard via freebsd-toolchain
[Top post going in a somewhat different direction. Plus I listed the wrong version for bintils, not 6.4, but 2.30 .] I probably should have referenced the line in base/binutils/Makefile : MASTERDIR= ${.CURDIR}/../../devel/binutils which in turn brings in references for all the direct depend

An FYI: What lldb is built for when targeting powerpc64: Current executable set to 'a.out' (powerpc64le)

2018-10-12 Thread Mark Millard via freebsd-toolchain
[I was not expecting lldb to work on/for powerpc64. But I thought the powerpc64le reference by lldb was interesting.] # lldb a.out (lldb) target create "a.out" Current executable set to 'a.out' (powerpc64le). # file a.out a.out: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1