Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2014 23:55:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191465] [patch] devel/libexecinfo: fix build on amd64
Message-ID:  <bug-191465-13-qyTMzfZkiR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191465-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191465-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #2 from Lawrence Chen <beastie@tardisi.com> ---
Its unfortunate that the only choices for Hardware/OS are Any/Any.

>From your output I'm guessing you're on FreeBSD 10.x, since base gcc-4.2.1
neither accepts -march=corei7-avx nor -Qunused-arguments.  Pretty sure the
second one is clang specific (neither gcc47 nor gcc48 recognize it.)

All my systems are (currently) 9.2-RELEASE-p9.

Without patch:
--------------
# make
===>  Found saved configuration for libexecinfo-1.1_3
===>   libexecinfo-1.1_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libexecinfo-1.1_3 for building
===>  Extracting for libexecinfo-1.1_3
=> SHA256 Checksum OK for libexecinfo-1.1.tar.bz2.
===>  Patching for libexecinfo-1.1_3
===>  Applying FreeBSD patches for libexecinfo-1.1_3
===>  Configuring for libexecinfo-1.1_3
===>  Building for libexecinfo-1.1_3
`Makefile' is up to date.
Warning: Object directory not changed from original
/usr/ports/devel/libexecinfo/work/libexecinfo-1.1
cc  -O2 -fno-strict-aliasing -pipe -march=nocona -std=gnu99 -fstack-protector 
-c stacktraverse.c -o stacktraverse.o
cc  -O2 -fno-strict-aliasing -pipe -march=nocona -std=gnu99 -fstack-protector 
-c execinfo.c -o execinfo.o
building static execinfo library
ranlib libexecinfo.a
cc -fpic -DPIC  -O2 -fno-strict-aliasing -pipe -march=nocona -std=gnu99
-fstack-protector  -c stacktraverse.c -o stacktraverse.So
cc -fpic -DPIC  -O2 -fno-strict-aliasing -pipe -march=nocona -std=gnu99
-fstack-protector  -c execinfo.c -o execinfo.So
building shared library libexecinfo.so.1
===>  Staging for libexecinfo-1.1_3
===>   Generating temporary packing list
`Makefile' is up to date.
install -C -o root -g wheel -m 444   libexecinfo.a
/usr/ports/devel/libexecinfo/work/stage/usr/local/lib
install -s -o root -g wheel -m 444     libexecinfo.so.1
/usr/ports/devel/libexecinfo/work/stage/usr/local/lib
install -l s libexecinfo.so.1
/usr/ports/devel/libexecinfo/work/stage/usr/local/lib/libexecinfo.so
install -C -o root -g wheel -m 444  execinfo.h
/usr/ports/devel/libexecinfo/work/stage/usr/local/include
install  -o root -g wheel -m 444
/usr/ports/devel/libexecinfo/work/libexecinfo-1.1/README
/usr/ports/devel/libexecinfo/work/stage/usr/local/share/doc/libexecinfo
====> Compressing man pages (compress-man)


With patch:
-----------
===>  Found saved configuration for libexecinfo-1.1_3
===>   libexecinfo-1.1_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libexecinfo-1.1_3 for building
===>  Extracting for libexecinfo-1.1_3
=> SHA256 Checksum OK for libexecinfo-1.1.tar.bz2.
===>  Patching for libexecinfo-1.1_3
===>  Applying FreeBSD patches for libexecinfo-1.1_3
===>  Configuring for libexecinfo-1.1_3
===>  Building for libexecinfo-1.1_3
`Makefile' is up to date.
Warning: Object directory not changed from original
/usr/ports/devel/libexecinfo/work/libexecinfo-1.1
cc  -O2 -fno-strict-aliasing -pipe -march=nocona -fno-omit-frame-pointer
-std=gnu99 -fstack-protector  -c stacktraverse.c -o stacktraverse.o
cc  -O2 -fno-strict-aliasing -pipe -march=nocona -fno-omit-frame-pointer
-std=gnu99 -fstack-protector  -c execinfo.c -o execinfo.o
building static execinfo library
ranlib libexecinfo.a
cc -fpic -DPIC  -O2 -fno-strict-aliasing -pipe -march=nocona
-fno-omit-frame-pointer -std=gnu99 -fstack-protector  -c stacktraverse.c -o
stacktraverse.So
cc -fpic -DPIC  -O2 -fno-strict-aliasing -pipe -march=nocona
-fno-omit-frame-pointer -std=gnu99 -fstack-protector  -c execinfo.c -o
execinfo.So
building shared library libexecinfo.so.1
===>  Staging for libexecinfo-1.1_3
===>   Generating temporary packing list
`Makefile' is up to date.
install -C -o root -g wheel -m 444   libexecinfo.a
/usr/ports/devel/libexecinfo/work/stage/usr/local/lib
install -s -o root -g wheel -m 444     libexecinfo.so.1
/usr/ports/devel/libexecinfo/work/stage/usr/local/lib
install -l s libexecinfo.so.1
/usr/ports/devel/libexecinfo/work/stage/usr/local/lib/libexecinfo.so
install -C -o root -g wheel -m 444  execinfo.h
/usr/ports/devel/libexecinfo/work/stage/usr/local/include
install  -o root -g wheel -m 444
/usr/ports/devel/libexecinfo/work/libexecinfo-1.1/README
/usr/ports/devel/libexecinfo/work/stage/usr/local/share/doc/libexecinfo
====> Compressing man pages (compress-man)

-- 
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-191465-13-qyTMzfZkiR>