Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2018 05:07:33 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        multimedia@FreeBSD.org, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   multimedia/gstreamer1-libav building via system-clang on powerpc64 broken: cc: error: unknown argument: '-mminimal-toc'
Message-ID:  <0F3F3E12-EBE0-4454-AC69-1F71D81735ED@yahoo.com>

next in thread | raw e-mail | index | archive | help
[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.]

/usr/ports is at -r480180 for the below.

The poudriere-devel error log reported:

checking whether the C compiler works... no
configure: error: in =
`/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.12.3':
configure: error: C compiler cannot create executables
See `config.log' for more details
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to multimedia@FreeBSD.org [maintainer] and =
attach
the
=
"/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.12.3/conf=
ig.log"
including the output of the failure of your make command. Also, it might =
be
a good idea to provide an overview of all packages installed on your =
system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/gstreamer1-libav
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for gstreamer1-libav-1.12.3_2
build of multimedia/gstreamer1-libav | gstreamer1-libav-1.12.3_2 ended =
at Fri Oct 12 03:49:50 PDT 2018
build time: 00:02:10
!!! build failure encountered !!!



And config.log reported something very simple: use
of a command line option that does not exist for
clang.

configure:4016: checking whether the C compiler works
configure:4038: cc -O2 -pipe  -g -isystem /usr/local/include =
-fno-strict-aliasing -mminimal-toc -isystem /usr/local/include   =
conftest.c -L/usr/local/lib >&5
cc: error: unknown argument: '-mminimal-toc'
configure:4042: $? =3D 1
configure:4080: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GStreamer libav"
| #define PACKAGE_TARNAME "gst-libav"
| #define PACKAGE_VERSION "1.12.3"
| #define PACKAGE_STRING "GStreamer libav 1.12.3"
| #define PACKAGE_BUGREPORT =
"http://bugzilla.gnome.org/enter_bug.cgi?product=3DGStreamer"
| #define PACKAGE_URL ""
| #define PACKAGE "gst-libav"
| #define VERSION "1.12.3"
| /* end confdefs.h.  */
|=20
| int
| main ()
| {
|=20
|   ;
|   return 0;
| }
configure:4085: error: in =
`/wrkdirs/usr/ports/multimedia/gstreamer1-libav/work/gst-libav-1.12.3':
configure:4088: error: C compiler cannot create executables
See `config.log' for more details



For reference:

[19:06:38] [01] [00:02:24] Saved multimedia/gstreamer1-libav | =
gstreamer1-libav-1.12.3_2 wrkdir to: =
/usr/local/poudriere/data/wrkdirs/FBSDpowerpc64-default/default/gstreamer1=
-libav-1.12.3_2.tbz
[19:06:38] [01] [00:02:24] Finished multimedia/gstreamer1-libav | =
gstreamer1-libav-1.12.3_2: Failed: configure
[19:06:39] [01] [00:02:25] Skipping multimedia/gstreamer1-plugins-core | =
gstreamer1-plugins-core-1.12: Dependent port multimedia/gstreamer1-libav =
| gstreamer1-libav-1.12.3_2 failed



=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0F3F3E12-EBE0-4454-AC69-1F71D81735ED>