New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28325 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

gcc45 @4.5.2 build error: conflicting types for 'pointer_t' (same problem with gcc43 and gcc44)

Reported by: rafffo@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gcc45

Description

Installation of gcc45 (also gcc43 and gcc44) fails:

...

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include    -c  -g -O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc-4.5.2/gcc -I../../gcc-4.5.2/gcc/fortran -I../../gcc-4.5.2/gcc/../include -I../../gcc-4.5.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I../../gcc-4.5.2/gcc/../libdecnumber -I../../gcc-4.5.2/gcc/../libdecnumber/dpd -I../libdecnumber     ../../gcc-4.5.2/gcc/fortran/module.c -o fortran/module.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include    -c  -g -O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc-4.5.2/gcc -I../../gcc-4.5.2/gcc/fortran -I../../gcc-4.5.2/gcc/../include -I../../gcc-4.5.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I../../gcc-4.5.2/gcc/../libdecnumber -I../../gcc-4.5.2/gcc/../libdecnumber/dpd -I../libdecnumber     ../../gcc-4.5.2/gcc/fortran/openmp.c -o fortran/openmp.o
../../gcc-4.5.2/gcc/fortran/module.c:109:1: error: conflicting types for 'pointer_t'
/usr/include/mach/vm_types.h:40:26: note: previous declaration of 'pointer_t' was here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/bin/ -B/opt/local/x86_64-apple-darwin10/lib/ -isystem /opt/local/x86_64-apple-darwin10/include -isystem /opt/local/x86_64-apple-darwin10/sys-include    -c  -g -O2 -gtoggle -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -Ifortran -I../../gcc-4.5.2/gcc -I../../gcc-4.5.2/gcc/fortran -I../../gcc-4.5.2/gcc/../include -I../../gcc-4.5.2/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I../../gcc-4.5.2/gcc/../libdecnumber -I../../gcc-4.5.2/gcc/../libdecnumber/dpd -I../libdecnumber     ../../gcc-4.5.2/gcc/fortran/options.c -o fortran/options.o
make[3]: *** [fortran/module.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gfortran.pod gcc.pod
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/build" && /usr/bin/make -j4 bootstrap " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for gcc45): org.macports.activate org.macports.build org.macports.destroot org.macports.install

Mac OS 10.6.6

Xcode: 3.2.5 (1760) Interface Builder: 3.2.5 (823) Instruments: 2.7 (3017) Dashcode: 3.0.2 (333)

Attachments

main.zip (68.8 KB) - added by rafffo@… 2 years ago.

Change History

Changed 2 years ago by rafffo@…

comment:1 Changed 2 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to mww@…

comment:2 Changed 2 years ago by rafffo@…

solved replacing all pointer_t in module.c

comment:3 Changed 2 years ago by ryandesign@…

Same as #24541.

comment:4 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.