Compiler lacks asm-goto support

Issues related to applications and software problems and general support
Post Reply
hyuan
Posts: 11
Joined: 2020/07/11 13:09:05

Compiler lacks asm-goto support

Post by hyuan » 2020/07/11 13:39:44

I have installed CentOS 8.2.2004 minimal onto my PC, using a USB stick.
This PC which has no Internet connection, only has a TP-LINK TL-WN725N USB WiFi dongle , so I have to install linux driver for it. I went to TP-LINK website and downloaded the linux driver(https://static.tp-link.com/2018/201802/ ... _Linux.zip) wants to compile/build/install it so make my PC can connect to Internet by this Wifi dongle. However, i met below compiler error:

arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop.
make: *** [Makefile:1367: modules] Error 2


Original CentOS 8.2.2004 minimal has no gcc/make/kernel dev installed, so I have to install them separately by rpm, below are what I have installed:

rpm -qa|grep kernel
==================
kernel-tools-libs-4.18.0-193.el8.x86_64
kernel-modules-4.18.0-193.el8.x86_64
kernel-tools-4.18.0-193.el8.x86_64
kernel-4.18.0-193.el8.x86_64
kernel-core-4.18.0-193.el8.x86_64
kernel-devel-4.18.0-193.el8.x86_64

rpm -qa|grep gcc
==================
gcc-8.3.1-5.el8.0.2.x86_64
gcc-toolset-9-runtime-9.0-4.el8.x86_64
libgcc-8.3.1-5.el8.0.2.x86_64
gcc-c++-8.3.1-5.el8.0.2.x86_64

rpm -qa|grep make
==================
cmake-3.11.4-7.el8.x86_64
automake-1.16.1-6.el8.noarch
make-4.2.1-10.el8.x86_64

as --version
==================
GNU assembler version 2.30-73.el8
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-redhat-linux'.

uname -r
==================
4.18.0-193.el8.x86_64

cat /proc/version
==================
Linux vrsion 4.18.0-193.el8.x86_64(mockbuild@kbuilder.bsys.centos.org)(gcc version 8.3.1 20191121(Red Hat 8.3.1-5)(GCC))#1 SMP Fri May 8 10:59:10 UTC 2020

What's wrong?

Hoping someone can help me out.

Thanks

User avatar
TrevorH
Forum Moderator
Posts: 30179
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Compiler lacks asm-goto support

Post by TrevorH » 2020/07/11 14:51:26

Google says there are two versions of the TL-WN725N dongle, a V1 and a V2 and they are different. Which one do you have? Post the relevant line from the output of lsusb.py to show us. The driver for the v1 (0bda:8176) is already included in the CentOS 8 kernel and you do not need to build anything for it. The driver for the v2 (0bda:8179) is not included in the CentOS kernel

Code: Select all

[trevor@centos8 ~]$ grep -i 0bda /lib/modules/$(uname -r)/modules.* | grep -i 8176
/lib/modules/4.18.0-193.6.3.el8_2.x86_64/modules.alias:alias usb:v0BDAp8176d*dc*dsc*dp*ic*isc*ip*in* rtl8192cu
If you have the 8179 v2 device then your best bet is to use Google to find ELRepo and then locate their bugtracker and raise an enhancement request (an RFE) there to ask if they can produce a kmod-8818eu package to support the v2 chipset.
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

hyuan
Posts: 11
Joined: 2020/07/11 13:09:05

Re: Compiler lacks asm-goto support

Post by hyuan » 2020/07/11 16:14:53

TrevorH wrote:
2020/07/11 14:51:26
Google says there are two versions of the TL-WN725N dongle, a V1 and a V2 and they are different. Which one do you have? Post the relevant line from the output of lsusb.py to show us. The driver for the v1 (0bda:8176) is already included in the CentOS 8 kernel and you do not need to build anything for it. The driver for the v2 (0bda:8179) is not included in the CentOS kernel

Code: Select all

[trevor@centos8 ~]$ grep -i 0bda /lib/modules/$(uname -r)/modules.* | grep -i 8176
/lib/modules/4.18.0-193.6.3.el8_2.x86_64/modules.alias:alias usb:v0BDAp8176d*dc*dsc*dp*ic*isc*ip*in* rtl8192cu
If you have the 8179 v2 device then your best bet is to use Google to find ELRepo and then locate their bugtracker and raise an enhancement request (an RFE) there to ask if they can produce a kmod-8818eu package to support the v2 chipset.

Thank you for your reply, my key ask is why my compiler/make meets error of "Compiler lacks asm-goto support" even my gcc is 8.3.1? You can read my rpm installation above. What I missed? I think even I compile other code will meet same issue.

Regarding TP-LINK USB WiFi dongle version it is v2 with RTL8188EUS chip. (I am trying to compile TL-WN725N v3 Linux Driver code to see if it can work because I saw there is code in V3 driver for RTL8188EUS).

Post Reply

Return to “CentOS 8 - General Support”