Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2016 18:22:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214402] base/gcc -r424540: cross build requires "gcc" and "g++" commands to exist
Message-ID:  <bug-214402-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214402

            Bug ID: 214402
           Summary: base/gcc -r424540: cross build requires "gcc" and
                    "g++" commands to exist
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: markmi@dsl-only.net

After updating it locally to reference mpfr 3.1.5 there were two problems w=
ith
missing commands. . .

> configure: error: Specified CC_FOR_BUILD doesn't seem to work
> gmake[1]: *** [Makefile:4519: configure-gmp] Error 1
> gmake[1]: *** Waiting for unfinished jobs....
> . . .
> gmake[1]: Leaving directory '/usr/obj/portswork/usr/ports/base/gcc/work/.=
build'
> =3D=3D=3D> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur=
e to
> the maintainer.
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/base/gcc

Needed the command to exist: gcc

So I created:

# ls -l /usr/local/bin/gcc
lrwxr-xr-x  1 root  wheel  4 Nov  8 20:29 /usr/local/bin/gcc -> gcc6

(The only host gcc installed is gcc6 in my context.)

(base/binutils also required such a gcc that would be found by default.)

Then it got farther but there was later:

> configure: error: C++ compiler missing or inoperational
> gmake[1]: *** [Makefile:2717: configure-build-libcpp] Error 1
> gmake[1]: *** Waiting for unfinished jobs....

Needed the command to exist: g++

So I created:

# ls -l /usr/local/bin/g++
lrwxr-xr-x  1 root  wheel  4 Nov  8 20:33 /usr/local/bin/g++ -> g++6

(base/bintutils did not require this.)

Of course the gcc and g++ could point to some other compilers, I just happe=
ned
to have gcc6/g++6 around.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214402-13>