* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 6:52 liupan1234
0 siblings, 0 replies; 13+ messages in thread
From: liupan1234 @ 2017-10-24 6:52 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 3291 bytes --]
scl could work, but error below:
[root(a)e18g06550.et15sqa /etc/yum.repos.d]
#scl enable devtoolset-1.1 bash
Unable to open /etc/scl/prefixes/devtoolset-1.1!
At 2017-10-24 14:37:42, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Have you checked whether scl can work? If it is workable, the scl-utils-build may be not required.
# scl
Need at least 3 arguments.
Run scl --help to get help.
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:35 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To:spdk(a)lists.01.org
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 24295 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-25 11:17 Rodriguez, Edwin
0 siblings, 0 replies; 13+ messages in thread
From: Rodriguez, Edwin @ 2017-10-25 11:17 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 6911 bytes --]
You could also pass in the variables to make, as in
make CC=/my/gcc CXX=/my/g++ …
Ed R
From: SPDK <spdk-bounces(a)lists.01.org> on behalf of liupan1234 <liupan1234(a)163.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Tuesday, October 24, 2017 at 11:44 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Daniel, Gang and Ziye
Thank you all for the help. This issue is resolved now, and the root cause is below:
My original gcc was very old: gcc 4.1.2, so I clone an our "internal" maintained version gcc 4.9.2(with some internal changes), and set "path" env variable to point 4.9.2/bin.
But, in spdk/mk/cc.mk, I found it used "CC", not gcc:
CC=cc
CXX=g++
CCAR=ar
CC_TYPE=gcc
In normal case, cc is just a link of gcc in the same bin dir. But for this "internal" gcc 4.9.2, "cc" is not existed ...
So I changed spdk/Makefile, and use "gcc" as the option of detect_cc.sh, and it works now.
Thanks
Pan
At 2017-10-25 01:36:29, "Verkamp, Daniel" <daniel.verkamp(a)intel.com> wrote:
Hi Pan,
Which Linux distribution are you using?
GCC 4.9.2 should be new enough to have -march=native support (it was added in GCC 4.2).
You can try removing the ‘-march=native’ option in mk/spdk.common.mk to see if that resolves your problem.
Thanks,
-- Daniel
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of Cao, Gang
Sent: Tuesday, October 24, 2017 12:23 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
For devtoolset, you may also refer to http://linux.web.cern.ch/linux/devtoolset/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 3:13 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
I just need to compile spdk successful under 2.6.32
At 2017-10-24 15:01:47, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Have you installed the “devtoolset-1.1”?
By the way, which component of SPDK are you trying to enable on the old linux kernel 2.6.32 here?
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:53 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
scl could work, but error below:
[root(a)e18g06550.et15sqa<mailto:root(a)e18g06550.et15sqa> /etc/yum.repos.d]
#scl enable devtoolset-1.1 bash
Unable to open /etc/scl/prefixes/devtoolset-1.1!
At 2017-10-24 14:37:42, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Have you checked whether scl can work? If it is workable, the scl-utils-build may be not required.
# scl
Need at least 3 arguments.
Run scl --help to get help.
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:35 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa<mailto:wanjun.lp(a)e18g06550.et15sqa> /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To: spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 49493 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-25 3:44 liupan1234
0 siblings, 0 replies; 13+ messages in thread
From: liupan1234 @ 2017-10-25 3:44 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 5714 bytes --]
Hi Daniel, Gang and Ziye
Thank you all for the help. This issue is resolved now, and the root cause is below:
My original gcc was very old: gcc 4.1.2, so I clone an our "internal" maintained version gcc 4.9.2(with some internal changes), and set "path" env variable to point 4.9.2/bin.
But, in spdk/mk/cc.mk, I found it used "CC", not gcc:
CC=cc
CXX=g++
CCAR=ar
CC_TYPE=gcc
In normal case, cc is just a link of gcc in the same bin dir. But for this "internal" gcc 4.9.2, "cc" is not existed ...
So I changed spdk/Makefile, and use "gcc" as the option of detect_cc.sh, and it works now.
Thanks
Pan
At 2017-10-25 01:36:29, "Verkamp, Daniel" <daniel.verkamp(a)intel.com> wrote:
Hi Pan,
Which Linux distribution are you using?
GCC 4.9.2 should be new enough to have -march=native support (it was added in GCC 4.2).
You can try removing the ‘-march=native’ option in mk/spdk.common.mk to see if that resolves your problem.
Thanks,
-- Daniel
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Cao, Gang
Sent: Tuesday, October 24, 2017 12:23 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
For devtoolset, you may also refer to http://linux.web.cern.ch/linux/devtoolset/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 3:13 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
I just need to compile spdk successful under 2.6.32
At 2017-10-24 15:01:47, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Have you installed the “devtoolset-1.1”?
By the way, which component of SPDK are you trying to enable on the old linux kernel 2.6.32 here?
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:53 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
scl could work, but error below:
[root(a)e18g06550.et15sqa /etc/yum.repos.d]
#scl enable devtoolset-1.1 bash
Unable to open /etc/scl/prefixes/devtoolset-1.1!
At 2017-10-24 14:37:42, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Have you checked whether scl can work? If it is workable, the scl-utils-build may be not required.
# scl
Need at least 3 arguments.
Run scl --help to get help.
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:35 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To:spdk(a)lists.01.org
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 35271 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 17:36 Verkamp, Daniel
0 siblings, 0 replies; 13+ messages in thread
From: Verkamp, Daniel @ 2017-10-24 17:36 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 5524 bytes --]
Hi Pan,
Which Linux distribution are you using?
GCC 4.9.2 should be new enough to have -march=native support (it was added in GCC 4.2).
You can try removing the ‘-march=native’ option in mk/spdk.common.mk to see if that resolves your problem.
Thanks,
-- Daniel
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of Cao, Gang
Sent: Tuesday, October 24, 2017 12:23 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
For devtoolset, you may also refer to http://linux.web.cern.ch/linux/devtoolset/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 3:13 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
I just need to compile spdk successful under 2.6.32
At 2017-10-24 15:01:47, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Have you installed the “devtoolset-1.1”?
By the way, which component of SPDK are you trying to enable on the old linux kernel 2.6.32 here?
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:53 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
scl could work, but error below:
[root(a)e18g06550.et15sqa<mailto:root(a)e18g06550.et15sqa> /etc/yum.repos.d]
#scl enable devtoolset-1.1 bash
Unable to open /etc/scl/prefixes/devtoolset-1.1!
At 2017-10-24 14:37:42, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Have you checked whether scl can work? If it is workable, the scl-utils-build may be not required.
# scl
Need at least 3 arguments.
Run scl --help to get help.
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:35 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa<mailto:wanjun.lp(a)e18g06550.et15sqa> /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To: spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 34726 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 7:23 Cao, Gang
0 siblings, 0 replies; 13+ messages in thread
From: Cao, Gang @ 2017-10-24 7:23 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 4977 bytes --]
For devtoolset, you may also refer to http://linux.web.cern.ch/linux/devtoolset/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 3:13 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
I just need to compile spdk successful under 2.6.32
At 2017-10-24 15:01:47, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Have you installed the “devtoolset-1.1”?
By the way, which component of SPDK are you trying to enable on the old linux kernel 2.6.32 here?
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:53 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
scl could work, but error below:
[root(a)e18g06550.et15sqa<mailto:root(a)e18g06550.et15sqa> /etc/yum.repos.d]
#scl enable devtoolset-1.1 bash
Unable to open /etc/scl/prefixes/devtoolset-1.1!
At 2017-10-24 14:37:42, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Have you checked whether scl can work? If it is workable, the scl-utils-build may be not required.
# scl
Need at least 3 arguments.
Run scl --help to get help.
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:35 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa<mailto:wanjun.lp(a)e18g06550.et15sqa> /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To: spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 35373 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 7:12 liupan1234
0 siblings, 0 replies; 13+ messages in thread
From: liupan1234 @ 2017-10-24 7:12 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 3978 bytes --]
I just need to compile spdk successful under 2.6.32
At 2017-10-24 15:01:47, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Have you installed the “devtoolset-1.1”?
By the way, which component of SPDK are you trying to enable on the old linux kernel 2.6.32 here?
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:53 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
scl could work, but error below:
[root(a)e18g06550.et15sqa /etc/yum.repos.d]
#scl enable devtoolset-1.1 bash
Unable to open /etc/scl/prefixes/devtoolset-1.1!
At 2017-10-24 14:37:42, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Have you checked whether scl can work? If it is workable, the scl-utils-build may be not required.
# scl
Need at least 3 arguments.
Run scl --help to get help.
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:35 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To:spdk(a)lists.01.org
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 30410 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 7:01 Cao, Gang
0 siblings, 0 replies; 13+ messages in thread
From: Cao, Gang @ 2017-10-24 7:01 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 4220 bytes --]
Have you installed the “devtoolset-1.1”?
By the way, which component of SPDK are you trying to enable on the old linux kernel 2.6.32 here?
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:53 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
scl could work, but error below:
[root(a)e18g06550.et15sqa /etc/yum.repos.d]
#scl enable devtoolset-1.1 bash
Unable to open /etc/scl/prefixes/devtoolset-1.1!
At 2017-10-24 14:37:42, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Have you checked whether scl can work? If it is workable, the scl-utils-build may be not required.
# scl
Need at least 3 arguments.
Run scl --help to get help.
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:35 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa<mailto:wanjun.lp(a)e18g06550.et15sqa> /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To: spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 31077 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 6:37 Cao, Gang
0 siblings, 0 replies; 13+ messages in thread
From: Cao, Gang @ 2017-10-24 6:37 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 3300 bytes --]
Have you checked whether scl can work? If it is workable, the scl-utils-build may be not required.
# scl
Need at least 3 arguments.
Run scl --help to get help.
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 2:35 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa<mailto:wanjun.lp(a)e18g06550.et15sqa> /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To: spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 24888 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 6:34 liupan1234
0 siblings, 0 replies; 13+ messages in thread
From: liupan1234 @ 2017-10-24 6:34 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 2465 bytes --]
I can install scl-utils now, but for scl-utils-build, I could not
#yum install scl-utils scl-utils-build -b current
Loaded plugins: bestyumcache, branch, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Package scl-utils-20120927-9.el5.x86_64 already installed and latest version
No package scl-utils-build available.
Nothing to do
Could you tell me where I could go to download this scl-utils-build?
Great Thanks
At 2017-10-24 14:14:01, "Cao, Gang" <gang.cao(a)intel.com> wrote:
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To:spdk(a)lists.01.org
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 16771 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 6:14 Cao, Gang
0 siblings, 0 replies; 13+ messages in thread
From: Cao, Gang @ 2017-10-24 6:14 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 2012 bytes --]
On redhat, you can try:
yum install scl-utils scl-utils-build
For more about scl, https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/1/html-single/Software_Collections_Guide/
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 1:58 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] compile error in old linux kernel version
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com<mailto:gang.cao(a)intel.com>> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org<mailto:spdk-bounces(a)lists.01.org>] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To: spdk(a)lists.01.org<mailto:spdk(a)lists.01.org>
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 16820 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 5:57 liupan1234
0 siblings, 0 replies; 13+ messages in thread
From: liupan1234 @ 2017-10-24 5:57 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]
Hi Gang,
[wanjun.lp(a)e18g06550.et15sqa /home/wanjun.lp/ussos]
$scl enable devtoolset-1.1 bash
-bash: scl: command not found
what is the mean of scl?
At 2017-10-24 12:18:25, "Cao, Gang" <gang.cao(a)intel.com> wrote:
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To:spdk(a)lists.01.org
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 7772 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [SPDK] compile error in old linux kernel version
@ 2017-10-24 4:18 Cao, Gang
0 siblings, 0 replies; 13+ messages in thread
From: Cao, Gang @ 2017-10-24 4:18 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]
Hi Pan,
Try below command before running the “make” command:
scl enable devtoolset-1.1 bash
You may replace "bash" with their preferred shell.
Thanks,
Gang
From: SPDK [mailto:spdk-bounces(a)lists.01.org] On Behalf Of liupan1234
Sent: Tuesday, October 24, 2017 11:47 AM
To: spdk(a)lists.01.org
Subject: [SPDK] compile error in old linux kernel version
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7>
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 8150 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [SPDK] compile error in old linux kernel version
@ 2017-10-24 3:46 liupan1234
0 siblings, 0 replies; 13+ messages in thread
From: liupan1234 @ 2017-10-24 3:46 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
Hi All,
I met an error when I tried to compile spdk under linux kernel 2.6.32, and gcc version is 4.9.2:
$make DPDK_DIR=../dpdk/build/
CC lib/bdev/bdev.o
bdev.c:1: error: bad value (native) for -march= switch
bdev.c:1: error: bad value (native) for -mtune= switch
make[2]: *** [bdev.o] Error 1
make[1]: *** [bdev] Error 2
make: *** [lib] Error 2
bdev.c:1: error: bad value (native) for -march= switch
Could you give me some help?
Thanks very much!
Pan
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1153 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-10-25 11:17 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-24 6:52 [SPDK] compile error in old linux kernel version liupan1234
-- strict thread matches above, loose matches on Subject: below --
2017-10-25 11:17 Rodriguez, Edwin
2017-10-25 3:44 liupan1234
2017-10-24 17:36 Verkamp, Daniel
2017-10-24 7:23 Cao, Gang
2017-10-24 7:12 liupan1234
2017-10-24 7:01 Cao, Gang
2017-10-24 6:37 Cao, Gang
2017-10-24 6:34 liupan1234
2017-10-24 6:14 Cao, Gang
2017-10-24 5:57 liupan1234
2017-10-24 4:18 Cao, Gang
2017-10-24 3:46 liupan1234
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.