Opened 11 years ago

Closed 11 years ago

#41964 closed defect (fixed)

gcc49 and libgcc-devel 20131222 fail to build

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: skymoo (Adam Mercer), cooljeanius (Eric Gallager), rouson@…, jdzhang@…
Port:

Description

/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/build/./prev-gcc/xg++ -B/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/build/./prev-gcc/ -B/opt/local/x86_64-apple-darwin12/bin/ -nostdinc++ -B/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/build/prev-x86_64-apple-darwin12/libstdc++-v3/src/.libs -B/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/build/prev-x86_64-apple-darwin12/libstdc++-v3/libsupc++/.libs -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/build/prev-x86_64-apple-darwin12/libstdc++-v3/include/x86_64-apple-darwin12 -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/build/prev-x86_64-apple-darwin12/libstdc++-v3/include -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/libstdc++-v3/libsupc++ -L/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/build/prev-x86_64-apple-darwin12/libstdc++-v3/src/.libs -L/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/build/prev-x86_64-apple-darwin12/libstdc++-v3/libsupc++/.libs -c   -g -O2  -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I. -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/. -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/../include -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/../libcpp/include -I/opt/local/include -I/opt/local/include -I/opt/local/include  -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/../libdecnumber -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/../libdecnumber/dpd -I../libdecnumber -I/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/../libbacktrace -DCLOOG_INT_GMP -I/opt/local/include   -o darwin.o -MT darwin.o -MMD -MP -MF ./.deps/darwin.TPo /opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/config/darwin.c
/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/config/darwin.c: In function 'section* darwin_function_section(tree, node_frequency, bool, bool)':
/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_lang_gcc49/libgcc-devel/work/gcc-4.9-20131222/gcc/config/darwin.c:3665:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1plus: all warnings being treated as errors

Change History (7)

comment:1 Changed 11 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)

Seems easy enough to just add a proper return statement to that function, or even easier, to just ignore it by disabling -Werror...

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Fixing is better than not, but mww will need to do this since I'm not able to look at gcc's sources.

comment:5 Changed 11 years ago by rouson@…

Cc: rouson@… added

Cc Me!

comment:6 Changed 11 years ago by jdzhang@…

Cc: jdzhang@… added

Cc Me!

comment:7 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

20140105 built

Note: See TracTickets for help on using tickets.