Hello.
On FreeBSD 10.0-CURRENT/amd64 I run into the error shown below when
updating the installation of the gcc46 compiler suite.

The OS has been compiled via CLANG, binutils 2.22 are installed and has
been installed either with the UNAME_r settings and WITH_FBSD10_FIX set
in /etc/make.conf.

I was wondering whether others would also see this on CURRENT. On all
FreeBSD 9.0 boxes gcc46 compiles well.

Regards,
Oliver

====

Configuring stage 1 in ./gcc
clang -O3 -fno-strict-aliasing -pipe -march=native -I/usr/local/include
 -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o
fixopts.o ../libiberty/libiberty.a
echo timestamp > full-stamp
gmake[3]: Leaving directory
`/usr/ports/lang/gcc46/work/build/build-x86_64-portbld-freebsd9.9/fixincludes'
gmake[3]: Entering directory `/usr/ports/lang/gcc46/work/build/libcpp'
clang  -I.././../gcc-4.6-20111202/libcpp -I.
-I.././../gcc-4.6-20111202/libcpp/../include
-I.././../gcc-4.6-20111202/libcpp/include  -g -fkeep-inline-functions -W
-Wall -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic
-Wno-long-long  -I.././../gcc-4.6-20111202/libcpp -I.
-I.././../gcc-4.6-20111202/libcpp/../include
-I.././../gcc-4.6-20111202/libcpp/include  -c -o charset.o -MT charset.o
-MMD -MP -MF .deps/charset.Tpo .././../gcc-4.6-20111202/libcpp/charset.c
.././../gcc-4.6-20111202/libcpp/charset.c:1371:1: error: conflicting
types for 'cpp_interpret_string'
cpp_interpret_string (cpp_reader *pfile, const cpp_string *from, size_t
count,
^
.././../gcc-4.6-20111202/libcpp/include/cpplib.h:742:13: note: previous
declaration is here
extern bool cpp_interpret_string (cpp_reader *,
            ^
.././../gcc-4.6-20111202/libcpp/charset.c:1452:1: error: conflicting
types for 'cpp_interpret_string_notranslate'
cpp_interpret_string_notranslate (cpp_reader *pfile, const cpp_string *from,
^
.././../gcc-4.6-20111202/libcpp/include/cpplib.h:745:13: note: previous
declaration is here
extern bool cpp_interpret_string_notranslate (cpp_reader *,
            ^
2 errors generated.
gmake[3]: *** [charset.o] Error 1
gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/libcpp'
gmake[2]: *** [all-stage1-libcpp] Error 2
gmake[2]: *** Waiting for unfinished jobs....
configure: creating cache ./config.cache
checking build system type... x86_64-portbld-freebsd9.9
checking host system type... x86_64-portbld-freebsd9.9
checking target system type... x86_64-portbld-freebsd9.9
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok

[...]


checking linker *_sol2 emulation support... no
checking linker --sysroot support... yes
checking __stack_chk_fail in target C library... checking for
__stack_chk_fail... yes
yes
checking dl_iterate_phdr in target C library... unknown
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a native compiler for
x86_64-portbld-freebsd9.9.
checking for exported symbols... yes
checking for -rdynamic... yes
checking for library containing dlopen... none required
checking for -fPIC -shared... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating as
config.status: creating collect-ld
config.status: creating nm
config.status: creating Makefile
config.status: creating ada/gcc-interface/Makefile
config.status: creating ada/Makefile
config.status: creating auto-host.h
config.status: executing default commands
gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

Stop in /usr/ports/lang/gcc46.
*** Error code 1

Stop in /usr/ports/lang/gcc46.

===>>> make failed for lang/gcc46
===>>> Aborting update

===>>> Update for lang/gcc46 failed
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> lang/gcc46

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to