Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel flags are applied on PowerPC: cc1: error: unrecognized command line option "-mfpmath=sse" #126

Open
barracuda156 opened this issue Sep 20, 2024 · 0 comments

Comments

@barracuda156
Copy link

--->  Configuring crfsuite
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
glibtoolize: copying file 'm4/ltoptions.m4'
glibtoolize: copying file 'm4/ltsugar.m4'
glibtoolize: copying file 'm4/ltversion.m4'
glibtoolize: copying file 'm4/lt~obsolete.m4'
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
/opt/local/share/aclocal/zthread.m4:34: warning: underquoted definition of AM_PATH_ZTHREAD
/opt/local/share/aclocal/zthread.m4:34:   run info Automake 'Extending aclocal'
/opt/local/share/aclocal/zthread.m4:34:   or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:30: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.in:30: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
configure.in:22: installing './compile'
configure.in:21: installing './config.guess'
configure.in:21: installing './config.sub'
configure.in:30: installing './install-sh'
configure.in:30: installing './missing'
configure.in:140: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
frontend/Makefile.am:25: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
frontend/Makefile.am: installing './depcomp'
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in:140: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/cqdb/Makefile.am:21: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/cqdb/Makefile.am:9: warning: source file 'src/lookup3.c' is in a subdirectory,
lib/cqdb/Makefile.am:9: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibility.
lib/cqdb/Makefile.am:9: warning: source file 'src/cqdb.c' is in a subdirectory,
lib/cqdb/Makefile.am:9: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:46: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/crf/Makefile.am:8: warning: source file 'src/dictionary.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/logging.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/params.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/quark.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/rumavl.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/dataset.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/holdout.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/train_arow.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/train_averaged_perceptron.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/train_l2sgd.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/train_lbfgs.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/train_passive_aggressive.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/crf1d_context.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/crf1d_model.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/crf1d_feature.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/crf1d_encode.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/crf1d_tag.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/crfsuite_train.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
lib/crf/Makefile.am:8: warning: source file 'src/crfsuite.c' is in a subdirectory,
lib/crf/Makefile.am:8: but option 'subdir-objects' is disabled
configure.in:140: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.in:22: warning: The macro 'AC_AIX' is obsolete.
configure.in:22: You should run autoupdate.
./lib/autoconf/specific.m4:722: AC_AIX is expanded from...
configure.in:22: the top level
configure.in:23: warning: The macro 'AC_MINIX' is obsolete.
configure.in:23: You should run autoupdate.
./lib/autoconf/specific.m4:727: AC_MINIX is expanded from...
configure.in:23: the top level
configure.in:24: warning: The macro 'AC_ISC_POSIX' is obsolete.
configure.in:24: You should run autoupdate.
./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from...
configure.in:24: the top level
configure.in:30: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from...
configure.in:30: the top level
configure.in:39: warning: The macro 'AC_PROG_LIBTOOL' is obsolete.
configure.in:39: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.in:39: the top level
configure.in:55: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:55: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:55: the top level
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_crfsuite/crfsuite/work/crfsuite-961809adc379148892022276fc9367dfcb2b680f" && ./configure --prefix=/opt/local --with-liblbfgs=/opt/local 
checking build system type... powerpc-apple-darwin10.0.0d2
checking host system type... powerpc-apple-darwin10.0.0d2
checking for gcc... ccache /usr/bin/gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether ccache /usr/bin/gcc-4.2 accepts -g... yes
checking for ccache /usr/bin/gcc-4.2 option to enable C11 features... unsupported
checking for ccache /usr/bin/gcc-4.2 option to enable C99 features... -std=gnu99
checking whether ccache /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 2
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking dependency style of ccache /usr/bin/gcc-4.2 -std=gnu99... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for grep that handles long lines and -e... /opt/local/bin/ggrep
checking for egrep... /opt/local/bin/ggrep -E
checking for fgrep... /opt/local/bin/ggrep -F
checking for ld used by ccache /usr/bin/gcc-4.2 -std=gnu99... /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert powerpc-apple-darwin10.0.0d2 file names to powerpc-apple-darwin10.0.0d2 format... func_convert_file_noop
checking how to convert powerpc-apple-darwin10.0.0d2 file names to toolchain format... func_convert_file_noop
checking for /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for file... file
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm -B output from ccache /usr/bin/gcc-4.2 -std=gnu99 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... ld: unknown option: -force_load
no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if ccache /usr/bin/gcc-4.2 -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for ccache /usr/bin/gcc-4.2 -std=gnu99 option to produce PIC... -fno-common -DPIC
checking if ccache /usr/bin/gcc-4.2 -std=gnu99 PIC flag -fno-common -DPIC works... yes
checking if ccache /usr/bin/gcc-4.2 -std=gnu99 static flag -static works... no
checking if ccache /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o... yes
checking if ccache /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the ccache /usr/bin/gcc-4.2 -std=gnu99 linker (/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.0.0d2 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether ln -s works... yes
checking for egrep... (cached) /opt/local/bin/ggrep -E
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... no
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking size of ... 0
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned int... 4
checking size of long... 4
checking size of unsigned long... 4
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for working alloca.h... no
checking for alloca... no
checking stack direction for C alloca... -1
checking for working memcmp... no
checking for vprintf... no
checking for _doprnt... no
checking for strdup... no
checking for strerror... no
checking for strtol... no
checking for strtoul... no
checking for rand in -lm... no
checking for lbfgs in -llbfgs... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating genbinary.sh
config.status: creating include/Makefile
config.status: creating lib/cqdb/Makefile
config.status: creating lib/crf/Makefile
config.status: creating frontend/Makefile
config.status: creating swig/Makefile
config.status: creating swig/perl/Makefile.PL
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
--->  Building crfsuite
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_crfsuite/crfsuite/work/crfsuite-961809adc379148892022276fc9367dfcb2b680f" && /usr/bin/make -j6 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_crfsuite/crfsuite/work/crfsuite-961809adc379148892022276fc9367dfcb2b680f'
/usr/bin/make  all-recursive
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_crfsuite/crfsuite/work/crfsuite-961809adc379148892022276fc9367dfcb2b680f'
Making all in include
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_crfsuite/crfsuite/work/crfsuite-961809adc379148892022276fc9367dfcb2b680f/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_crfsuite/crfsuite/work/crfsuite-961809adc379148892022276fc9367dfcb2b680f/include'
Making all in lib/cqdb
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_crfsuite/crfsuite/work/crfsuite-961809adc379148892022276fc9367dfcb2b680f/lib/cqdb'
/bin/sh ../../libtool  --tag=CC   --mode=compile ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I. -I/opt/local/include  -I/opt/local/include -I./include -mfpmath=sse -msse2 -DUSE_SSE -O3 -fomit-frame-pointer -ffast-math -Winline -std=c99 -pipe -Os -arch ppc -MT libcqdb_la-lookup3.lo -MD -MP -MF .deps/libcqdb_la-lookup3.Tpo -c -o libcqdb_la-lookup3.lo `test -f 'src/lookup3.c' || echo './'`src/lookup3.c
/bin/sh ../../libtool  --tag=CC   --mode=compile ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I. -I/opt/local/include  -I/opt/local/include -I./include -mfpmath=sse -msse2 -DUSE_SSE -O3 -fomit-frame-pointer -ffast-math -Winline -std=c99 -pipe -Os -arch ppc -MT libcqdb_la-cqdb.lo -MD -MP -MF .deps/libcqdb_la-cqdb.Tpo -c -o libcqdb_la-cqdb.lo `test -f 'src/cqdb.c' || echo './'`src/cqdb.c
libtool: compile:  ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I. -I/opt/local/include -I/opt/local/include -I./include -mfpmath=sse -msse2 -DUSE_SSE -O3 -fomit-frame-pointer -ffast-math -Winline -std=c99 -pipe -Os -arch ppc -MT libcqdb_la-lookup3.lo -MD -MP -MF .deps/libcqdb_la-lookup3.Tpo -c src/lookup3.c  -fno-common -DPIC -o .libs/libcqdb_la-lookup3.o
libtool: compile:  ccache /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I. -I/opt/local/include -I/opt/local/include -I./include -mfpmath=sse -msse2 -DUSE_SSE -O3 -fomit-frame-pointer -ffast-math -Winline -std=c99 -pipe -Os -arch ppc -MT libcqdb_la-cqdb.lo -MD -MP -MF .deps/libcqdb_la-cqdb.Tpo -c src/cqdb.c  -fno-common -DPIC -o .libs/libcqdb_la-cqdb.o
cc1: error: unrecognized command line option "-mfpmath=sse"
cc1: error: unrecognized command line option "-mfpmath=sse"
make[2]: *** [libcqdb_la-cqdb.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libcqdb_la-lookup3.lo] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_crfsuite/crfsuite/work/crfsuite-961809adc379148892022276fc9367dfcb2b680f/lib/cqdb'
make[1]: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant