This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/5193] New: Compilation failure with -O0
- From: "kris dot van dot hees at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 17 Oct 2007 18:58:16 -0000
- Subject: [Bug general/5193] New: Compilation failure with -O0
- Reply-to: sourceware-bugzilla at sourceware dot org
Building frysk with --enable-coverage forced -O0 (instead of -O). This triggers
a compilation failure in funit-addresses.c.
gcc -DPACKAGE_NAME=\"frysk\" -DPACKAGE_TARNAME=\"frysk\"
-DPACKAGE_VERSION=\"0.0.1.2007.10.17\" -DPACKAGE_STRING=\"frysk\
0.0.1.2007.10.17\" -DPACKAGE_BUGREPORT=\"\" -DWITH_LIBOPCODES=1
-DPACKAGE=\"frysk\" -DVERSION=\"0.0.1.2007.10.17\" -I.
-I/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core
-I/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core/../frysk-imports/include
-I/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core -I. -fPIC
-fasynchronous-unwind-tables -g --coverage -O0 -Wall -Werror -c -o
frysk/pkglibdir/funit-addresses.o
/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core/frysk/pkglibdir/funit-addresses.c
cc1: warnings being treated as errors
/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core/frysk/pkglibdir/funit-addresses.c:
In function 'main':
/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core/frysk/pkglibdir/funit-addresses.c:74:
warning: implicit declaration of function 'malloc'
/home/aedil/build_farm/frysk_gcov/frysk_config/frysk-core/frysk/pkglibdir/funit-addresses.c:74:
warning: incompatible implicit declaration of built-in function 'malloc'
make[2]: *** [frysk/pkglibdir/funit-addresses.o] Error 1
--
Summary: Compilation failure with -O0
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: kris dot van dot hees at oracle dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=5193
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.