Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 431328 Details for
Bug 580594
sys-block/tgt-1.0.63 : /.../bs_sg.c:354: undefined reference to `major'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-block:tgt-1.0.63:20160420-003627.log
sys-block:tgt-1.0.63:20160420-003627.log (text/plain), 13.38 KB, created by
Toralf Förster
on 2016-04-20 08:24:41 UTC
(
hide
)
Description:
sys-block:tgt-1.0.63:20160420-003627.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2016-04-20 08:24:41 UTC
Size:
13.38 KB
patch
obsolete
> * Package: sys-block/tgt-1.0.63 > * Repository: gentoo > * Maintainer: prometheanfire@gentoo.org cluster@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking tgt-1.0.63.tar.gz to /var/tmp/portage/sys-block/tgt-1.0.63/work >>>> Source unpacked in /var/tmp/portage/sys-block/tgt-1.0.63/work >>>> Preparing source in /var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7 ... >make -j1 -C usr/ KERNELSRC= ISCSI=1 >make: Entering directory '/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7/usr' >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/conn.c -o iscsi/conn.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/param.c -o iscsi/param.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/session.c -o iscsi/session.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/iscsid.c -o iscsi/iscsid.o >iscsi/iscsid.c: In function âiscsi_task_queueâ: >iscsi/iscsid.c:1598:6: warning: variable âerrâ set but not used [-Wunused-but-set-variable] > int err; > ^ >iscsi/iscsid.c: In function âiscsi_task_tx_doneâ: >iscsi/iscsid.c:1961:6: warning: variable âerrâ set but not used [-Wunused-but-set-variable] > int err; > ^ >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/target.c -o iscsi/target.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/chap.c -o iscsi/chap.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/sha1.c -o iscsi/sha1.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/md5.c -o iscsi/md5.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/transport.c -o iscsi/transport.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/iscsi_tcp.c -o iscsi/iscsi_tcp.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/isns.c -o iscsi/isns.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_aio.c -o bs_aio.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" tgtd.c -o tgtd.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" mgmt.c -o mgmt.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" target.c -o target.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" scsi.c -o scsi.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" log.c -o log.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" driver.c -o driver.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" util.c -o util.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" work.c -o work.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" concat_buf.c -o concat_buf.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" parser.c -o parser.o >parser.c: In function âmatch_oneâ: >parser.c:33:21: warning: variable âretâ set but not used [-Wunused-but-set-variable] > unsigned long long ret; > ^ >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" spc.c -o spc.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" sbc.c -o sbc.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" mmc.c -o mmc.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" osd.c -o osd.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" scc.c -o scc.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" smc.c -o smc.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" ssc.c -o ssc.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" libssc.c -o libssc.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_rdwr.c -o bs_rdwr.o >bs_rdwr.c: In function âbs_rdwr_requestâ: >bs_rdwr.c:68:11: warning: variable âinfoâ set but not used [-Wunused-but-set-variable] > uint32_t info = 0; > ^ >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_ssc.c -o bs_ssc.o >bs_ssc.c: In function âbs_ssc_closeâ: >bs_ssc.c:687:19: warning: variable âsscâ set but not used [-Wunused-but-set-variable] > struct ssc_info *ssc; > ^ >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_null.c -o bs_null.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_sg.c -o bs_sg.o >bs_sg.c: In function âchk_sg_deviceâ: >bs_sg.c:354:6: warning: implicit declaration of function âmajorâ [-Wimplicit-function-declaration] > if (major(st.st_rdev) == SCSI_GENERIC_MAJOR) > ^ >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs.c -o bs.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" libcrc32c.c -o libcrc32c.o >x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_sheepdog.c -o bs_sheepdog.o >echo x86_64-pc-linux-gnu-gcc -Wl,-E,-rpath=/lib/tgt iscsi/conn.o iscsi/param.o iscsi/session.o iscsi/iscsid.o iscsi/target.o iscsi/chap.o iscsi/sha1.o iscsi/md5.o iscsi/transport.o iscsi/iscsi_tcp.o iscsi/isns.o bs_aio.o tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o concat_buf.o parser.o spc.o sbc.o mmc.o osd.o scc.o smc.o ssc.o libssc.o bs_rdwr.o bs_ssc.o bs_null.o bs_sg.o bs.o libcrc32c.o bs_sheepdog.o -o tgtd -laio -lpthread -ldl >x86_64-pc-linux-gnu-gcc -Wl,-E,-rpath=/lib/tgt iscsi/conn.o iscsi/param.o iscsi/session.o iscsi/iscsid.o iscsi/target.o iscsi/chap.o iscsi/sha1.o iscsi/md5.o iscsi/transport.o iscsi/iscsi_tcp.o iscsi/isns.o bs_aio.o tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o concat_buf.o parser.o spc.o sbc.o mmc.o osd.o scc.o smc.o ssc.o libssc.o bs_rdwr.o bs_ssc.o bs_null.o bs_sg.o bs.o libcrc32c.o bs_sheepdog.o -o tgtd -laio -lpthread -ldl >x86_64-pc-linux-gnu-gcc -Wl,-E,-rpath=/lib/tgt iscsi/conn.o iscsi/param.o iscsi/session.o iscsi/iscsid.o iscsi/target.o iscsi/chap.o iscsi/sha1.o iscsi/md5.o iscsi/transport.o iscsi/iscsi_tcp.o iscsi/isns.o bs_aio.o tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o concat_buf.o parser.o spc.o sbc.o mmc.o osd.o scc.o smc.o ssc.o libssc.o bs_rdwr.o bs_ssc.o bs_null.o bs_sg.o bs.o libcrc32c.o bs_sheepdog.o -o tgtd -Wl,-E,-rpath=/lib/tgt -laio -lpthread -ldl >bs_sg.o: In function `chk_sg_device': >/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7/usr/bs_sg.c:354: undefined reference to `major' >/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7/usr/bs_sg.c:358: undefined reference to `major' >collect2: error: ld returned 1 exit status >Makefile:72: recipe for target 'tgtd' failed >make: *** [tgtd] Error 1 >make: Leaving directory '/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7/usr' > * ERROR: sys-block/tgt-1.0.63::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-block/tgt-1.0.63::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-block/tgt-1.0.63::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-block:tgt-1.0.63:20160420-003627.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-block/tgt-1.0.63/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-block/tgt-1.0.63/temp/environment'. > * Working directory: '/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7' > * S: '/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7'
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 580594
:
431324
|
431326
| 431328