Trinity fuzzer tool discussions
 help / color / mirror / Atom feed
* compile error within a 32 bit KVM
@ 2016-01-22 18:58 Toralf Förster
       [not found] ` <20160122193524.GA5687@codemonkey.org.uk>
  0 siblings, 1 reply; 2+ messages in thread
From: Toralf Förster @ 2016-01-22 18:58 UTC (permalink / raw)
  To: trinity

Hi

latest HEAD gives :


i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -g -ggdb -Wall -W  -I. -Iinclude/ -Wimplicit  -D_GNU_SOURCE -D__linux__  -Wdeclaration-after-statement -Wformat=2 -Winit-self -Wnested-externs -Wpacked -Wshadow -Wswitch-enum -Wundef -Wwrite-strings -Wno-format-nonliteral -Wstrict-prototypes -Wmissing-prototypes -Wlogical-op -Wstrict-aliasing=3 -Wno-maybe-uninitialized -o rand/random.o -c rand/random.c
rand/random-page.c: In function ‘fabricate_struct’:
rand/random-page.c:67:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
     for (int j = 0; j < 2; j++) {
     ^
rand/random-page.c:67:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
Makefile:108: recipe for target 'rand/random-page.o' failed
make: *** [rand/random-page.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: dev-util/trinity-9::local failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-util/trinity-9::local'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/trinity-9::local'`.
 * The complete build log is located at '/var/log/portage/dev-util:trinity-9:20160122-185702.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-util/trinity-9/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/trinity-9/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-util/trinity-9/work/trinity-9'
 * S: '/var/tmp/portage/dev-util/trinity-9/work/trinity-9'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (dev-util/trinity-9:0/0::local, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/dev-util:trinity-9:20160122-185702.log.gz'




-- 
Toralf, pgp: C4EACDDE 0076E94E

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: compile error within a 32 bit KVM
       [not found] ` <20160122193524.GA5687@codemonkey.org.uk>
@ 2016-01-22 20:07   ` Toralf Förster
  0 siblings, 0 replies; 2+ messages in thread
From: Toralf Förster @ 2016-01-22 20:07 UTC (permalink / raw)
  To: Dave Jones; +Cc: trinity

On 01/22/2016 08:35 PM, Dave Jones wrote:
> Just committed -std=gnu11. Make clean, and try again with that.
> 
> 	Dave
> 
emerges now fine here under stable 32 bit Gentoo

thx

-- 
Toralf, pgp: C4EACDDE 0076E94E

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-22 20:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-22 18:58 compile error within a 32 bit KVM Toralf Förster
     [not found] ` <20160122193524.GA5687@codemonkey.org.uk>
2016-01-22 20:07   ` Toralf Förster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox