Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 422014 Details for
Bug 571000
media-sound/gbsplay-0.0.91-r1 : gbsplay.c:(.text+0x2c0): undefined reference to `rand_long'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-sound:gbsplay-0.0.91-r1:20160105-152531.log
media-sound:gbsplay-0.0.91-r1:20160105-152531.log (text/plain), 14.80 KB, created by
Toralf Förster
on 2016-01-05 15:27:27 UTC
(
hide
)
Description:
media-sound:gbsplay-0.0.91-r1:20160105-152531.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2016-01-05 15:27:27 UTC
Size:
14.80 KB
patch
obsolete
> * Package: media-sound/gbsplay-0.0.91-r1 > * Repository: gentoo > * Maintainer: sound > * USE: abi_x86_64 alsa amd64 elibc_glibc kernel_linux linguas_en nls userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking gbsplay-0.0.91.tar.gz to /var/tmp/portage/media-sound/gbsplay-0.0.91-r1/work >>>> Source unpacked in /var/tmp/portage/media-sound/gbsplay-0.0.91-r1/work >>>> Preparing source in /var/tmp/portage/media-sound/gbsplay-0.0.91-r1/work/gbsplay-0.0.91 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-sound/gbsplay-0.0.91-r1/work/gbsplay-0.0.91 ... >checking for working compiler: ok >checking for -fstack-protector support: ok >checking for inttypes.h: ok >checking for alsa/asoundlib.h: ok >checking for locale.h: ok >checking for libintl.h: ok >checking for gettext tools: ok >checking if we need additional libs for i18n: no >checking for Cygwin environment: no >optional modules: +contrib -test -xmmsplugin >optional features: +i18n -sharedlibgbs -regparm +ssp -debug +stdout -devdsp +alsa -nas +midi >EXTRA_CFLAGS=-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Os -fomit-frame-pointer >EXTRA_LDFLAGS=-Wl,-O1 -Wl,--as-needed -fstack-protector >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-sound/gbsplay-0.0.91-r1/work/gbsplay-0.0.91 ... >make -j1 CC=x86_64-pc-linux-gnu-gcc SPLINT=true >DEP gbsinfo.c -o gbsinfo.d >DEP plugout_midi.c -o plugout_midi.d >DEP plugout_stdout.c -o plugout_stdout.d >DEP plugout_alsa.c -o plugout_alsa.d >DEP plugout.c -o plugout.d >DEP util.c -o util.d >DEP gbsplay.c -o gbsplay.d >DEP impulsegen.c -o impulsegen.d >DEP crc32.c -o crc32.d >DEP cfgparser.c -o cfgparser.d >DEP gbs.c -o gbs.d >DEP gbhw.c -o gbhw.d >DEP gbcpu.c -o gbcpu.d >CC gbcpu.c -o gbcpu.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >gbcpu.c: In function âpushâ: >gbcpu.c:584:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint32_t sp = REGS16_R(gbcpu_regs, SP) - 2; > ^ >gbcpu.c:585:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, SP, sp); > ^ >gbcpu.c: In function âpopâ: >gbcpu.c:593:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint32_t sp = REGS16_R(gbcpu_regs, SP); > ^ >gbcpu.c:597:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, SP, sp + 2); > ^ >gbcpu.c: In function âget_imm8â: >gbcpu.c:604:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint32_t pc = REGS16_R(gbcpu_regs, PC); > ^ >gbcpu.c:606:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, pc + 1); > ^ >gbcpu.c: In function âget_imm16â: >gbcpu.c:614:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint32_t pc = REGS16_R(gbcpu_regs, PC); > ^ >gbcpu.c:616:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, pc + 2); > ^ >gbcpu.c: In function âget_regâ: >gbcpu.c:631:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > return mem_get(REGS16_R(gbcpu_regs, HL)); > ^ >gbcpu.c: In function âput_regâ: >gbcpu.c:638:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > mem_put(REGS16_R(gbcpu_regs, HL), val); > ^ >gbcpu.c: In function âop_cbprefixâ: >gbcpu.c:864:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint16_t pc = REGS16_R(gbcpu_regs, PC); > ^ >gbcpu.c:866:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, pc + 1); > ^ >gbcpu.c: In function âop_ld_ind16_spâ: >gbcpu.c:910:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > long sp = REGS16_R(gbcpu_regs, SP); > ^ >gbcpu.c: In function âop_ld_hlspâ: >gbcpu.c:920:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint16_t old = REGS16_R(gbcpu_regs, SP); > ^ >gbcpu.c:925:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, HL, new); > ^ >gbcpu.c: In function âop_ld_sphlâ: >gbcpu.c:934:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, SP, REGS16_R(gbcpu_regs, HL)); > ^ >gbcpu.c:934:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] >gbcpu.c: In function âop_ld_reg16_immâ: >gbcpu.c:944:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, reg, val); > ^ >gbcpu.c: In function âop_ld_reg16_aâ: >gbcpu.c:955:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > gbcpu_regs.rn.a = mem_get(r = REGS16_R(gbcpu_regs, reg)); > ^ >gbcpu.c:958:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > mem_put(r = REGS16_R(gbcpu_regs, reg), gbcpu_regs.rn.a); > ^ >gbcpu.c:963:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, reg, r); > ^ >gbcpu.c: In function âop_inc16â: >gbcpu.c:1021:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint16_t res = REGS16_R(gbcpu_regs, reg); > ^ >gbcpu.c:1025:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, reg, res); > ^ >gbcpu.c: In function âop_dec16â: >gbcpu.c:1048:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint16_t res = REGS16_R(gbcpu_regs, reg); > ^ >gbcpu.c:1052:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, reg, res); > ^ >gbcpu.c: In function âop_add_sp_immâ: >gbcpu.c:1058:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint16_t old = REGS16_R(gbcpu_regs, SP); > ^ >gbcpu.c:1063:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, SP, new); > ^ >gbcpu.c: In function âop_add_hlâ: >gbcpu.c:1102:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > uint16_t old = REGS16_R(gbcpu_regs, HL); > ^ >gbcpu.c:1108:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > new += REGS16_R(gbcpu_regs, reg); > ^ >gbcpu.c:1109:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, HL, new); > ^ >gbcpu.c: In function âop_pushâ: >gbcpu.c:1299:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > push(REGS16_R(gbcpu_regs, reg)); > ^ >gbcpu.c: In function âop_popâ: >gbcpu.c:1307:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, reg, pop()); > ^ >gbcpu.c: In function âop_callâ: >gbcpu.c:1337:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > push(REGS16_R(gbcpu_regs, PC)); > ^ >gbcpu.c:1338:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, ofs); > ^ >gbcpu.c: In function âop_call_condâ: >gbcpu.c:1353:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > push(REGS16_R(gbcpu_regs, PC)); > ^ >gbcpu.c:1354:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, ofs); > ^ >gbcpu.c: In function âop_retâ: >gbcpu.c:1359:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, pop()); > ^ >gbcpu.c: In function âop_retiâ: >gbcpu.c:1365:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, pop()); > ^ >gbcpu.c: In function âop_ret_condâ: >gbcpu.c:1380:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, pop()); > ^ >gbcpu.c: In function âop_jrâ: >gbcpu.c:1412:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, REGS16_R(gbcpu_regs, PC) + ofs); > ^ >gbcpu.c:1412:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] >gbcpu.c: In function âop_jr_condâ: >gbcpu.c:1428:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, REGS16_R(gbcpu_regs, PC) + ofs); > ^ >gbcpu.c:1428:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] >gbcpu.c: In function âop_jpâ: >gbcpu.c:1436:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, ofs); > ^ >gbcpu.c: In function âop_jp_hlâ: >gbcpu.c:1442:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, REGS16_R(gbcpu_regs, HL)); > ^ >gbcpu.c:1442:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] >gbcpu.c: In function âop_jp_condâ: >gbcpu.c:1457:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, ofs); > ^ >gbcpu.c: In function âop_rstâ: >gbcpu.c:1465:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > push(REGS16_R(gbcpu_regs, PC)); > ^ >gbcpu.c:1466:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, ofs); > ^ >gbcpu.c: In function âgbcpu_intrâ: >gbcpu.c:1813:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > push(REGS16_R(gbcpu_regs, PC)); > ^ >gbcpu.c:1814:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, vec); > ^ >CC gbhw.c -o gbhw.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >CC gbs.c -o gbs.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >gbs.c: In function âgbs_initâ: >gbs.c:106:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, PC, 0x0050); /* playercode entry point */ > ^ >gbs.c:107:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, SP, gbs->stack); > ^ >gbs.c:108:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] > REGS16_W(gbcpu_regs, HL, gbs->load - 0x70); > ^ >gbs.c: In function âgbs_writeâ: >gbs.c:332:2: warning: ignoring return value of âwriteâ, declared with attribute warn_unused_result [-Wunused-result] > write(fd, gbs->buf, newlen); > ^ >gbs.c: In function âgbs_openâ: >gbs.c:358:2: warning: ignoring return value of âreadâ, declared with attribute warn_unused_result [-Wunused-result] > read(fd, buf, st.st_size); > ^ >CC cfgparser.c -o cfgparser.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >CC crc32.c -o crc32.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >CC impulsegen.c -o impulsegen.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >CC gbsplay.c -o gbsplay.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >In file included from gbsplay.c:27:0: >util.h:11:13: warning: inline function ârand_longâ declared but never defined > inline long rand_long(long max); > ^ >CC util.c -o util.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >CC plugout.c -o plugout.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >CC plugout_alsa.c -o plugout_alsa.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >CC plugout_stdout.c -o plugout_stdout.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >CC plugout_midi.c -o plugout_midi.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >x86_64-pc-linux-gnu-ar r libgbs.a gbcpu.o gbhw.o gbs.o cfgparser.o crc32.o impulsegen.o >x86_64-pc-linux-gnu-ar: creating libgbs.a >CC gbsinfo.c -o gbsinfo.o ><command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined ><built-in>: note: this is the location of the previous definition >touch libgbs >x86_64-pc-linux-gnu-gcc -o gbsplay gbsplay.o util.o plugout.o plugout_alsa.o plugout_stdout.o plugout_midi.o libgbs.a -Wl,-O1 -lm -Wl,-O1 -Wl,--as-needed -fstack-protector -lasound -lm >gbsplay.o: In function `get_next_subsong': >gbsplay.c:(.text+0x2c0): undefined reference to `rand_long' >gbsplay.o: In function `main': >gbsplay.c:(.text.startup+0xa5a): undefined reference to `rand_long' >collect2: error: ld returned 1 exit status >Makefile:331: recipe for target 'gbsplay' failed >make: *** [gbsplay] Error 1 > * ERROR: media-sound/gbsplay-0.0.91-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-sound/gbsplay-0.0.91-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-sound/gbsplay-0.0.91-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/media-sound:gbsplay-0.0.91-r1:20160105-152531.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/gbsplay-0.0.91-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-sound/gbsplay-0.0.91-r1/temp/environment'. > * Working directory: '/var/tmp/portage/media-sound/gbsplay-0.0.91-r1/work/gbsplay-0.0.91' > * S: '/var/tmp/portage/media-sound/gbsplay-0.0.91-r1/work/gbsplay-0.0.91'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 571000
:
422010
|
422012
| 422014