Error unknown pseudo op

It's really strange that I have these error messages as follows when I tried to compile the C++ program. g++ -c -pipe -DOpenModeType=std::_Ios_Openmode -g -I. -o Obj/NP_genome_info.o NP_genome_info.cp | The UNIX and Linux Forums

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Getting unknown operator error while using a function

Hi,

I wrote a function for the first time and not able to get the desired result.

I have requirement to execute 10 queries. For this i wrote a function like below.
function Command {
typeset var SOL;
if ; then CONNECTION=»${CONNECTION} -e -time»;
else SOL=»`nzsql ${CONNECTION} -c… (8 Replies)

Discussion started by: Samah

2. Solaris

SMTP Server 550 5.1.1 User unknown Error

Hello All,

I am currently running a Solaris 10 machine as inbound SMTP server i.e. bringing Emails from outside into our company. In /var/spool/mqueue , I have mails that are pending for the past 4-5 days. They are not being delivered and are causing my mount point size to increase.

Error… (0 Replies)

Discussion started by: Junaid Subhani

3. UNIX for Advanced & Expert Users

Using SFTP Error Server Unknown

Not sure if this is the right forum and I apologies if not. I use Expression web to update our website on a UNIX server using SFTP.

I use the same laptop, software, that works fine when at home, but when I travel, I tend to get a unknown server error. I am suspecting that it has something to do… (2 Replies)

Discussion started by: ae3799t

4. Programming

Help Unknown Syntax Error

Please excuse me if this is an easy fix, for I am new to Unix and C

‘/problem1.c: line2: syntax error near unexpected token `
‘/problem1.c: line2: `main()

and for one program it has

: command not found2: (above the syntax error)

As mentioned this is in C not C++, I have complied all… (3 Replies)

Discussion started by: apolo93

5. Shell Programming and Scripting

Unknown error — «’ unmatched

Hi Guys,

I get the error while running below commands. Earlier the command used to execute, but after enclosing them in a function, the error is occuring

backupPath=`echo $folderName | sed -e ‘s,/vobs/dte/itgClient/client/RegressionTestLibPostOHS/,,’`
check_event=`cat… (7 Replies)

Discussion started by: ajincoep

6. Homework & Coursework Questions

FIFO possible blocking or unknown error

Use and complete the template provided. The entire template must be completed. If you don’t, your post may be deleted!

1. The problem statement, all variables and given/known data:

Create a chat program using two FIFOs one for writing and the other for reading. The problem is something… (1 Reply)

Discussion started by: Ebodee

7. Shell Programming and Scripting

syntax error in shell test: unknown operator

Hi All,

can some one figure out the syntax issue here. How to overcome this?

#!/bin/sh

$ HFR_MAIL=NO
$ PRP_MAIL=NO
$ MC_MAIL=NO
$ if && && ]; then
> echo «NO »
> else
> echo «YES»
> fi
test: unknown operator NO
$ if && && ]; then
> echo «NO»
> else
> echo «YES»
>… (4 Replies)

Discussion started by: shellscripter

8. Solaris

pseudo: [ID 129642 kern.info] pseudo-device: vol0

Hi I have a system that gave me some messages on bootup that I was not used to seeing:
pseudo: pseudo-device: vol0
genunix: vol0 is /pseudo/vol@0
these came with these:
Feb 13 17:42:17 system1 eri: SUNW,eri0 : 100 Mbps full duplex link up
Feb 13 17:42:21 system1sendmail: My unqualified… (0 Replies)

Discussion started by: mndavies

9. Solaris

Unknown File Type error

Greetings there,

i was trying to install an eclipse plugin on sunOS 4.x for the solaris sparc platform, and i got the following error:

/usr/project/RAServer/bin> ./RAStart.sh
Starting Agent Controller
ld.so.1: RAServer: fatal: /usr/project/RAServer/lib/libxerces-c.so.24:
unknown file type… (3 Replies)

Discussion started by: rohitsz

This course has not yet been updated to work with the Raspberry Pi models B+
and A+. Some elements may not work, in particular the first few lessons about the
LED. It has also not been updated for Raspberry Pi v2.

There is little more satisfying than when an Operating System you’ve written works
perfectly, however this is, unfortunately, rarely the case. I lost count long ago
how many Operating Systems I’ve written that didn’t work in making this course. This page contains advice
for what to do when things just aren’t working. It is broken down into compile errors
that happen before you can even make the Operating System, load errors that prevent
your Operating System doing anything, and runtime errors, where your Operating System
doesn’t do the correct thing. I’ve also added specific help on each of the tutorial
Operating Systems, such as things that can commonly go wrong. If you have a problem
that isn’t explained here, and think others my be able to benefit from your experience,
send an email to me at [Javascript required], and
I will add it here.
It is also well worth taking a look at the Raspberry Pi forums to see if anyone else has run into the same problem.

Contents

  • 1 Compiler Errors

    • 1.1 Error: bad instruction
    • 1.2 Error: immediate expression requires a # prefix
    • 1.3 Error: ARM register expected
    • 1.4 Error: unknown pseudo-op
    • 1.5 Error: invalid constant (number) after fixup
    • 1.6 warning : end of file not at end of a line; newline inserted
    • 1.7 undefined reference
    • 1.8 `section’ referenced in section `section’ of build/file.o: defined in discarded section `section’ of build/file.o
    • 1.9 arm-none-eabi-ld: no input files
    • 1.10 make: *** No targets specified and no makefile found. Stop.
    • 1.11 Windows Only: make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x425073)
    • 1.12 Linux 64 bit Only: arm-none-eabi-as: No such file or directory
  • 2 Load Errors
  • 3 Runtime Errors

    • 3.1 Alignment
    • 3.2 Hanging
    • 3.3 Infinite Loops
  • 4 General Advice
  • 5 Tutorial Specific Advice

    • 5.1 OK05 Doesn’t Flash; Light Stays On
    • 5.2 Screen01 Displays Nothing
    • 5.3 Screen02 Displays Nothing
    • 5.4 Input01 Displays Nothing

1 Compiler Errors

Compiler errors are errors that occur when the make
command runs on your Operating System. I’ve also included some common warnings too.

1.1 Error: bad instruction

source/file.s:8: Error: bad instruction `sdd r0,r1'

This error occurs when you use a command that doesn’t exist. First of all, check
that you haven’t mistyped the command. If you’re using condition codes as well as
other options such as an str command with a b suffix to only store a byte, and a
eq
suffix to only store if the last condition was equal, the correct
order is in fact streqb not
strbeq
.

1.2 Error: immediate expression requires a # prefix

source/file.s:32: Error: immediate expression requires a # prefix -- `add r0,1'

This means that you’re trying to use a constant number, such as adding the number
one, but forgot to put a # (e.g. add r3,4 should
be add r3,#4. You must do so wherever you use
a constant on a command that normally uses registers. This is true even for calculated
constants such as #3*4.

1.3 Error: ARM register expected

source/file.s:24: Error: ARM register expected -- `add 0,r1'

This means that you typed something that was not a register, when a register was
expected. Double check your spelling, especially if you’re using
.req
. If you are, make sure you haven’t used .unreq
between the .req and this command.

1.4 Error: unknown pseudo-op

source/file.s: Error: unknown pseudo-op: `.suction'

This error occurs when you use a pseudo operation that doesn’t exit. Check your spelling.

1.5 Error: invalid constant (number) after fixup

source/file.s:24: Error: invalid constant (c21) after fixup

This error occurs when you use a constant which does not meet the requirements of the
function. The most common example of this is the mov
instruction, which only allows numbers which can be represented as an 8 bit number, shifted
left by an even number. For example c2116 = 1100001000012 and so cannot
be represented in a mov, but c2016 =
1100001000002 = 110000102 << 4, and so is valid in a mov.
Much the same rules apply to most constants in functions. Remember, to load in any constant,
use ldr r0,=value.

1.6 warning : end of file not at end of a line; newline inserted

source/file.s: warning : end of file not at end of a line; newline inserted

This means the last line in your file is not empty. You can ignore this, but to
fix it just add a new line at the end.

1.7 undefined reference

.text(+0x18): undefined reference to `label'

This means you’ve used a label which the linker can’t find. This is probably due
to a misspelling. Remember that labels are case sensitive and that labels in different
files require .globl commands before they’re
accessible in other files.

1.8 `section’ referenced in section `section’ of build/file.o: defined in discarded section `section’ of build/file.o

`.trxt' referenced in section `.init' of build/main.o: defined in discarded section `.trxt' of build/main.o

This means that you’ve used a .section command,
but you’ve specified a section other than .init, .text or .data. Only these sections
are copied into the kernel.img file, any others are discarded, hence the error is saying
that some of your code was discarded. Check your spelling on .section commands.

1.9 arm-none-eabi-ld: no input files

arm-none-eabi-ld: no input files

This error means that the linker hasn’t found your code. Double check you’ve got a source directory
with .s files within it like main.s. Make sure you haven’t got something like main.s.txt.

1.10 make: *** No targets specified and no makefile found. Stop.

make: *** No targets specified and no makefile found.  Stop.

This error is caused by running make in the wrong directory. The command line must
have the same working directory as the file makefile which is in the template. Use
the ‘cd’ command to change directories, then run make again.

1.11 Windows Only: make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x425073)

make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x425073)

This is an error that can occur on Windows when YARGTO has been installed in a directory
with a space in it’s name, for example: C:Program Files (x86)YAGARTO. To fix,
please reinstall YAGARTO in a directory with no spaces such as C:YAGARTO.

1.12 Linux 64 bit Only: arm-none-eabi-as: No such file or directory

bash: arm-none-eabi-as: No such file or directory

This error is caused by running the Linux version of the toolchain on a 64
bit machine without 32 bit compatibility libraries. These can be retrieved easily
using:

sudo apt-get install ia32-libs

2 Load Errors

Load errors are errors that occur that prevent your Operating System from giving
any output. This can be the hardest to diagnose and fix. Unfortunately, by their
nature, they give off no indication of what is wrong.

The first thing you should check is that the tutorial answer does work. This confirms
that you’re installing things correctly, that your Raspberry Pi is not physically
damaged and that your SD card works. If the answer doesn’t work, make sure Linux
still does. If it doesn’t you may have a problem with your SD card or Raspberry
Pi physically. Reimage the SD card or get a new one. If Linux does work but the
tutorial does not, you may not be installing the Operating System correctly. Double
check you’re replacing kernel.img in the FAT partition of the SD card.

If the answer does work but your attempt does not, then we know it is something
in your code. On the later tutorials, try altering the start of your code to turn
on the OK LED, just so you know if it boots at all. If not, double check that you
have some code in the .init section which branches into your .text section. Try
enabling the OK LED from the .init section.

Ultimately what we need is some output. If you can get the LED to turn on from your
early code, then this is just a runtime error. If placing that code in the .init
section still doesn’t enable output, it may be worth going back to the template and
copying in your code bit by bit until it stops working. Sometimes you never do find
the error; In the past I’ve ended up copying the entire code back into the template
and suddenly it worked.

3 Runtime Errors

Behind load errors, runtime errors are the hardest to diagnose and fix. These occur
when your Operating System just doesn’t do what you want.

The most important thing is to get information out of the system. The OK LED is very
useful for this. If the Operating System seems to stop, or get stuck, try turning on the LED
just before and just after various commands. If it turns on when just before an instruction, but
won’t on the instruction afterwards, then we know this is the problem. Please remember that turning
on the LED will generally alter r0 to r3, so use push {r0,r1,r2,r3}
and pop {r0,r1,r2,r3} to preserve these registers. If you’re in looping code,
try flashing the LED in the loop to see how many loops actually happen.

If you’re in the later tutorials make sure to use the screen for information. Write out text
about the current status, values, etc, in order to learn what is going on. Once
you’ve got some idea, have a look at the following common problems to see
if you can spot what has happened.

Remember, think outside the box. Perhaps a function you wrote ages ago had a bug
you never noticed.

3.1 Alignment

One of the most subtle runtime errors is the ARM alignment constraint. Any str or ldr instruction
will not function correctly unless the computed address is a multiple of the size
of the data being read. For example, if you’re using ldr
r0,[r1,#2]
, then the value of r1,#2
must be a multiple of 4. If not unpredictable results occur. You should always be
able to guarantee this is this case. If you’re referring to a label, make sure you
have a .align 2 command BEFORE the label. This
will ensure that the label’s address is a multiple of 22 = 4. You can
use .align 3 to align to a multiple of 23
= 8, etc.

3.2 Hanging

A processor ‘hangs’ (stops) if it encounters a bad instruction or a bad address.
If your code gets stuck on a branch, load or store command, this is likely to be
the problem. You can use a condition around turning on the OK LED to check this.

3.3 Infinite Loops

Similarly to hanging, a processor can easily get stuck in loops. If the
processor reaches one of your loops, but never leaves, this could well be the
problem. Double check the conditions for leaving the loop will be satisfied.

4 General Advice

To help you, every time you compile a kernel, two extra files are compiled. kernel.list
contains a direct listing of all the assembly code, and kernel.map contains a map
of all your labels. You can use these files to mentally simulate the processor and
check it will do the correct thing. The processor starts at address 0 with all registers
in an undefined state. Try mentally checking that the processor will do what you
want. For things like alignment issues, you can double check everything is as it
should be with kernel.map.

5 Tutorial Specific Advice

5.1 OK05 Doesn’t Flash; Light Stays On

If you followed a previous version of this tutorial, a common problem on OK05 is
to have the OK LED stay on continuously rather than flashing a pattern. This is caused
by a change in the way the modern bootloaders load the kernel; they load it at address 0x8000 not 0.
Either replace makefile and kernel.ld with the ones currently in the template. Or alternatively
add the line kernel_old=1 to the file config.txt on the SD card, or create the file with this line in it.

5.2 Screen01 Displays Nothing

If you followed a previous version of this tutorial, this was a common problem.
The code in framebuffer.s has been altered to fix this problem. Specifically, it is
necessary to add 0x40000000 to the address of FrameBufferInfo before writing it to the mailbox.

5.3 Screen02 Displays Nothing

See OK05 Doesn’t Flash; Light Stays On.

5.4 Input01 Displays Nothing

First of all, check if this is an issue with the screen or the keyboard by running
the solution to Input02. It prints a message to the screen before receiving keyboard
input. If nothing shows on Input02, then see the help for Screen01.
If it does display, but you still can’t type, then your keyboard may be incompatible with my USB driver.
Unfortunately, due to it’s basic code, the driver doesn’t support every keyboard.
Try to find other USB keyboards to use. I’ve personally tested 11 brands of keyboard,
of which 6 worked.

#1 2019-03-30 22:59:34

s0lar1n
Member
Registered: 2019-03-30
Posts: 8

GCC 8 giving assembler errors when building

I recently upgraded gcc to 8 and whenever I try to build a package for example pycharm-professional using yay/yaourt the compilation errors with

{standard input}:10: Error: unknown .loc sub-directive `view’
{standard input}:10: Error: junk at end of line, first unrecognized character is `-‘
{standard input}:12: Error: unknown .loc sub-directive `view’
{standard input}:12: Error: unknown pseudo-op: `.lvu1′

and continues x number of times incrementing the number at the end of lvu. I’ve tried updating my binutils and reinstalling gcc. Has anyone had this issue before?

#2 2019-03-31 00:03:34

loqs
Member
Registered: 2014-03-06
Posts: 15,645

Re: GCC 8 giving assembler errors when building

s0lar1n wrote:

I recently upgraded gcc to 8

Welcome to the arch linux forums s0lar1n.  gcc 8.1.0-1 was packaged in May 2018.  What exact gcc package version has the issue and which version does not have the issue?
Please do not post snippets of outputs post the full command you used and all the output.  Please also test without using an AUR helper.
For comparisson is the output from a local clean chroot build for pycharm-professional.

clone https://aur.archlinux.org/pycharm-professional.git
Cloning into 'pycharm-professional'...
remote: Enumerating objects: 419, done.
remote: Counting objects: 100% (419/419), done.
remote: Compressing objects: 100% (199/199), done.
remote: Total 419 (delta 220), reused 419 (delta 220)
Receiving objects: 100% (419/419), 104.60 KiB | 1.63 MiB/s, done.
Resolving deltas: 100% (220/220), done.
$ cd pycharm-professional/
# extra-x86_64-build
:: Synchronizing package databases...
 core is up to date
 extra                   1691.1 KiB  5.05M/s 00:00 [######################] 100%
 community                  4.8 MiB  9.03M/s 00:01 [######################] 100%
:: Starting full system upgrade...
 there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [testuser]...done
==> Making package: pycharm-professional 2019.1.0-1 (Sat Mar 30 23:49:25 2019)
==> Retrieving sources...
  -> Downloading pycharm-professional-2019.1-no-jbr.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   154  100   154    0     0    729      0 --:--:-- --:--:-- --:--:--   729
100  322M  100  322M    0     0  12.4M      0  0:00:25  0:00:25 --:--:-- 11.9M
  -> Found pycharm-professional.desktop
  -> Found pycharm
  -> Found charm.desktop
  -> Found charm
==> Validating source files with sha256sums...
    pycharm-professional-2019.1-no-jbr.tar.gz ... Passed
    pycharm-professional.desktop ... Passed
    pycharm ... Passed
    charm.desktop ... Passed
    charm ... Passed
==> Making package: pycharm-professional 2019.1.0-1 (Sat 30 Mar 2019 11:49:53 PM UTC)
==> Checking runtime dependencies...
==> Installing missing dependencies...
:: There are 10 providers available for ttf-font:
:: Repository extra
   1) noto-fonts  2) ttf-bitstream-vera  3) ttf-caladea  4) ttf-carlito
   5) ttf-croscore  6) ttf-dejavu  7) ttf-freefont
:: Repository community
   8) ttf-droid  9) ttf-liberation  10) ttf-ubuntu-font-family

Enter a number (default=1): 
:: There are 4 providers available for java-runtime:
:: Repository extra
   1) jre-openjdk  2) jre10-openjdk  3) jre7-openjdk  4) jre8-openjdk

Enter a number (default=1): 
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (28) freetype2-2.10.0-1  graphite-1:1.3.13-1  harfbuzz-2.4.0-1
              java-runtime-common-3-1  jre-openjdk-headless-11.0.3.u4-1
              lcms2-2.9-1  libjpeg-turbo-2.0.2-1  libnet-1.1.6-3
              libnsl-1.2.0-1  libpng-1.6.36-1  libtiff-4.0.10-1  libx11-1.6.7-1
              libxau-1.0.9-1  libxcb-1.13.1-1  libxdmcp-1.1.3-1
              libxext-1.3.4-1  libxfixes-5.0.3-2  libxi-1.7.9-2  nspr-4.21-1
              nss-3.43-1  xcb-proto-1.13-2  xorgproto-2018.4-1  giflib-5.1.8-1
              jre-openjdk-11.0.3.u4-1  libxslt-1.1.33-1  libxtst-1.2.3-2
              noto-fonts-20190111-1  python-3.7.3-1

Total Download Size:    68.01 MiB
Total Installed Size:  419.59 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 giflib-5.1.8-1-x86_64     78.7 KiB  1573K/s 00:00 [######################] 100%
 python-3.7.3-1-x86_64     35.3 MiB  11.9M/s 00:03 [######################] 100%
 harfbuzz-2.4.0-1-x86_64  676.7 KiB  2.81M/s 00:00 [######################] 100%
 jre-openjdk-headles...    31.8 MiB  9.12M/s 00:03 [######################] 100%
 jre-openjdk-11.0.3....   176.5 KiB  14.4M/s 00:00 [######################] 100%
(28/28) checking keys in keyring                   [######################] 100%
(28/28) checking package integrity                 [######################] 100%
(28/28) loading package files                      [######################] 100%
(28/28) checking for file conflicts                [######################] 100%
:: Processing package changes...
( 1/28) installing giflib                          [######################] 100%
( 2/28) installing noto-fonts                      [######################] 100%
Optional dependencies for noto-fonts
    noto-fonts-cjk: CJK characters
    noto-fonts-emoji: Emoji characters
    noto-fonts-extra: additional variants (condensed, semi-bold, extra-light)
( 3/28) installing xcb-proto                       [######################] 100%
( 4/28) installing xorgproto                       [######################] 100%
( 5/28) installing libxdmcp                        [######################] 100%
( 6/28) installing libxau                          [######################] 100%
( 7/28) installing libxcb                          [######################] 100%
( 8/28) installing libx11                          [######################] 100%
( 9/28) installing libxext                         [######################] 100%
(10/28) installing libxi                           [######################] 100%
(11/28) installing libxfixes                       [######################] 100%
(12/28) installing libxtst                         [######################] 100%
(13/28) installing libxslt                         [######################] 100%
(14/28) installing libnsl                          [######################] 100%
(15/28) installing python                          [######################] 100%
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(16/28) installing java-runtime-common             [######################] 100%
For the complete set of Java binaries to be available in your PATH,
you need to re-login or source /etc/profile.d/jre.sh
Please note that this package does not support forcing JAVA_HOME as former package java-common did
(17/28) installing nspr                            [######################] 100%
(18/28) installing nss                             [######################] 100%
(19/28) installing libjpeg-turbo                   [######################] 100%
(20/28) installing libtiff                         [######################] 100%
Optional dependencies for libtiff
    freeglut: for using tiffgt
(21/28) installing lcms2                           [######################] 100%
(22/28) installing libnet                          [######################] 100%
(23/28) installing libpng                          [######################] 100%
(24/28) installing graphite                        [######################] 100%
(25/28) installing harfbuzz                        [######################] 100%
Optional dependencies for harfbuzz
    cairo: hb-view program
(26/28) installing freetype2                       [######################] 100%
(27/28) installing jre-openjdk-headless            [######################] 100%
Optional dependencies for jre-openjdk-headless
    java-rhino: for some JavaScript support
(28/28) installing jre-openjdk                     [######################] 100%
when you use a non-reparenting window manager,
set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh
Optional dependencies for jre-openjdk
    alsa-lib: for basic sound support
    gtk2: for the Gtk+ 2 look and feel - desktop usage
    gtk3: for the Gtk+ 3 look and feel - desktop usage
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (11) python-appdirs-1.4.3-2  python-packaging-19.0-1
              python-pyparsing-2.3.1-1  python-six-1.12.0-1  python2-2.7.16-1
              python2-appdirs-1.4.3-2  python2-packaging-19.0-1
              python2-pyparsing-2.3.1-1  python2-six-1.12.0-1
              python-setuptools-1:40.8.0-1  python2-setuptools-1:40.8.0-1

Total Installed Size:  80.66 MiB

:: Proceed with installation? [Y/n] 
(11/11) checking keys in keyring                   [######################] 100%
(11/11) checking package integrity                 [######################] 100%
(11/11) loading package files                      [######################] 100%
(11/11) checking for file conflicts                [######################] 100%
:: Processing package changes...
( 1/11) installing python2                         [######################] 100%
Optional dependencies for python2
    tk: for IDLE
    python2-setuptools [pending]
    python2-pip
( 2/11) installing python2-appdirs                 [######################] 100%
( 3/11) installing python2-pyparsing               [######################] 100%
( 4/11) installing python2-six                     [######################] 100%
( 5/11) installing python2-packaging               [######################] 100%
( 6/11) installing python2-setuptools              [######################] 100%
( 7/11) installing python-appdirs                  [######################] 100%
( 8/11) installing python-pyparsing                [######################] 100%
( 9/11) installing python-six                      [######################] 100%
(10/11) installing python-packaging                [######################] 100%
(11/11) installing python-setuptools               [######################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found pycharm-professional-2019.1-no-jbr.tar.gz
  -> Found pycharm-professional.desktop
  -> Found pycharm
  -> Found charm.desktop
  -> Found charm
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting pycharm-professional-2019.1-no-jbr.tar.gz with bsdtar
==> Starting build()...
running build_ext
building '_pydevd_bundle_ext.pydevd_cython' extension
creating build
creating build/_pydevd_bundle
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c _pydevd_bundle/pydevd_cython.c -o build/_pydevd_bundle/pydevd_cython.o
creating _pydevd_bundle_ext
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 build/_pydevd_bundle/pydevd_cython.o -L/usr/lib -lpython2.7 -o ./_pydevd_bundle_ext/pydevd_cython.so
running build_ext
building '_pydevd_bundle_ext.pydevd_cython' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c _pydevd_bundle/pydevd_cython.c -o build/_pydevd_bundle/pydevd_cython.o
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 build/_pydevd_bundle/pydevd_cython.o -L/usr/lib -lpython3.7m -o ./_pydevd_bundle_ext/pydevd_cython.cpython-37m-x86_64-linux-gnu.so
running build_ext
building '_pydevd_frame_eval_ext.pydevd_frame_evaluator' extension
creating build/_pydevd_frame_eval
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c _pydevd_frame_eval/pydevd_frame_evaluator.c -o build/_pydevd_frame_eval/pydevd_frame_evaluator.o
creating _pydevd_frame_eval_ext
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 build/_pydevd_frame_eval/pydevd_frame_evaluator.o -L/usr/lib -lpython3.7m -o ./_pydevd_frame_eval_ext/pydevd_frame_evaluator.cpython-37m-x86_64-linux-gnu.so
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
strip: Unable to recognise the format of the input file `./opt/pycharm-professional/lib/pty4j-native/linux/ppc64le/libpty.so'
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "pycharm-professional"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pycharm-professional 2019.1.0-1 (Sat 30 Mar 2019 11:53:57 PM UTC)

#3 2019-03-31 00:15:51

s0lar1n
Member
Registered: 2019-03-30
Posts: 8

Re: GCC 8 giving assembler errors when building

Version:

 >>> gcc --version
gcc (GCC) 8.2.1 20181127
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>>>sudo pacman -Q --info binutils
Name            : binutils
Version         : 2.31.1-4
Description     : A set of programs to assemble and manipulate binary and object files
Architecture    : x86_64
URL             : http://www.gnu.org/software/binutils/
Licenses        : GPL
Groups          : base-devel
Provides        : None
Depends On      : glibc  zlib
Optional Deps   : None
Required By     : avr-binutils  gcc  gcc7
Optional For    : None
Conflicts With  : binutils-multilib
Replaces        : binutils-multilib
Installed Size  : 31.23 MiB
Packager        : Anatol Pomozov <anatol.pomozov@gmail.com>
Build Date      : Wed 26 Dec 2018 10:27:04 AM EST
Install Date    : Sat 30 Mar 2019 06:15:45 PM EDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
>>> makepkg
==> Making package: pycharm-professional 2019.1.0-1 (Sat 30 Mar 2019 08:07:10 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading pycharm-professional-2019.1-no-jbr.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   154  100   154    0     0    175      0 --:--:-- --:--:-- --:--:--   175
100  322M  100  322M    0     0  9818k      0  0:00:33  0:00:33 --:--:-- 11.3M
  -> Found pycharm-professional.desktop
  -> Found pycharm
  -> Found charm.desktop
  -> Found charm
==> Validating source files with sha256sums...
    pycharm-professional-2019.1-no-jbr.tar.gz ... Passed
    pycharm-professional.desktop ... Passed
    pycharm ... Passed
    charm.desktop ... Passed
    charm ... Passed
==> Extracting sources...
  -> Extracting pycharm-professional-2019.1-no-jbr.tar.gz with bsdtar
==> Starting build()...
running build_ext
building '_pydevd_bundle_ext.pydevd_cython' extension
creating build
creating build/_pydevd_bundle
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c _pydevd_bundle/pydevd_cython.c -o build/_pydevd_bundle/pydevd_cython.o
creating _pydevd_bundle_ext
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 build/_pydevd_bundle/pydevd_cython.o -L/usr/lib -lpython2.7 -o ./_pydevd_bundle_ext/pydevd_cython.so
running build_ext
building '_pydevd_bundle_ext.pydevd_cython' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c _pydevd_bundle/pydevd_cython.c -o build/_pydevd_bundle/pydevd_cython.o
{standard input}: Assembler messages:
{standard input}:10: Error: unknown .loc sub-directive `view'
{standard input}:10: Error: junk at end of line, first unrecognized character is `-'
{standard input}:12: Error: unknown .loc sub-directive `view'
{standard input}:12: Error: unknown pseudo-op: `.lvu1'
{standard input}:13: Error: unknown .loc sub-directive `view'
{standard input}:13: Error: unknown pseudo-op: `.lvu2'
{standard input}:14: Error: unknown .loc sub-directive `view'
{standard input}:14: Error: unknown pseudo-op: `.lvu3'
{standard input}:15: Error: unknown .loc sub-directive `view'
{standard input}:15: Error: unknown pseudo-op: `.lvu4'
{standard input}:18: Error: unknown .loc sub-directive `view'
{standard input}:18: Error: unknown pseudo-op: `.lvu5'
{standard input}:21: Error: unknown .loc sub-directive `view'
{standard input}:21: Error: unknown pseudo-op: `.lvu6'
{standard input}:22: Error: unknown .loc sub-directive `view'
{standard input}:22: Error: unknown pseudo-op: `.lvu7'
{standard input}:25: Error: unknown .loc sub-directive `view'
{standard input}:25: Error: unknown pseudo-op: `.lvu8'
{standard input}:29: Error: unknown .loc sub-directive `view'
{standard input}:29: Error: unknown pseudo-op: `.lvu9'
{standard input}:30: Error: unknown .loc sub-directive `view'
{standard input}:30: Error: unknown pseudo-op: `.lvu10'
{standard input}:33: Error: unknown .loc sub-directive `view'
{standard input}:33: Error: unknown pseudo-op: `.lvu11'
{standard input}:35: Error: unknown .loc sub-directive `view'
{standard input}:35: Error: unknown pseudo-op: `.lvu12'
{standard input}:36: Error: unknown .loc sub-directive `view'
{standard input}:36: Error: unknown pseudo-op: `.lvu13'
{standard input}:38: Error: unknown .loc sub-directive `view'
.
.
.
{standard input}:207057: Error: unknown pseudo-op: `.lvu74924'
{standard input}:207058: Error: unknown .loc sub-directive `view'
{standard input}:207058: Error: unknown pseudo-op: `.lvu74925'
{standard input}:207059: Error: unknown .loc sub-directive `view'
{standard input}:207059: Error: unknown pseudo-op: `.lvu74926'
{standard input}:207065: Error: unknown .loc sub-directive `view'
{standard input}:207065: Error: unknown pseudo-op: `.lvu74927'
{standard input}:207068: Error: unknown .loc sub-directive `view'
{standard input}:207068: Error: unknown pseudo-op: `.lvu74928'
{standard input}:207073: Error: unknown .loc sub-directive `view'
{standard input}:207073: Error: unknown pseudo-op: `.lvu74929'
{standard input}:207074: Error: unknown .loc sub-directive `view'
{standard input}:207074: Error: unknown pseudo-op: `.lvu74930'
{standard input}:207076: Error: unknown .loc sub-directive `view'
{standard input}:207076: Error: unknown pseudo-op: `.lvu74931'
{standard input}:207079: Error: unknown .loc sub-directive `view'
{standard input}:207079: Error: unknown pseudo-op: `.lvu74932'
{standard input}:207081: Error: unknown .loc sub-directive `view'
{standard input}:207081: Error: unknown pseudo-op: `.lvu74933'
{standard input}:207084: Error: unknown .loc sub-directive `view'
{standard input}:207084: Error: unknown pseudo-op: `.lvu74934'
{standard input}:207087: Error: unknown .loc sub-directive `view'
{standard input}:207087: Error: unknown pseudo-op: `.lvu74935'
{standard input}:207091: Error: unknown .loc sub-directive `view'
{standard input}:207091: Error: unknown pseudo-op: `.lvu74936'
{standard input}:207095: Error: unknown .loc sub-directive `view'
{standard input}:207095: Error: unknown pseudo-op: `.lvu74937'
{standard input}:207097: Error: unknown .loc sub-directive `view'
{standard input}:207097: Error: unknown pseudo-op: `.lvu74938'
error: command 'gcc' failed with exit status 1
==> ERROR: A failure occurred in build().
    Aborting...

I didn’t post the entire output because the entire output is 10MB and is just the same pattern repeated

Last edited by s0lar1n (2019-03-31 00:16:58)

#4 2019-03-31 00:22:16

loqs
Member
Registered: 2014-03-06
Posts: 15,645

Re: GCC 8 giving assembler errors when building

What is the output of the following

type ld
pacman -Qkk binutils

Additionally if you install devtools can you replicate the output I produced above using extra-x86_64-build?

#5 2019-03-31 00:42:57

s0lar1n
Member
Registered: 2019-03-30
Posts: 8

Re: GCC 8 giving assembler errors when building

>>> type ld
ld is /usr/bin/ld
>>> pacman -Qkk binutils
binutils: 384 total files, 0 altered files
>>>extra-x86_64-build
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                4.8 MiB  5.36M/s 00:01 [##############################################] 100%
:: Starting full system upgrade...
 there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [s0lar1n]...done
==> Making package: pycharm-professional 2019.1.0-1 (Sat Mar 30 20:31:40 2019)
==> Retrieving sources...
  -> Found pycharm-professional-2019.1-no-jbr.tar.gz
  -> Found pycharm-professional.desktop
  -> Found pycharm
  -> Found charm.desktop
  -> Found charm
==> Validating source files with sha256sums...
    pycharm-professional-2019.1-no-jbr.tar.gz ... Passed
    pycharm-professional.desktop ... Passed
    pycharm ... Passed
    charm.desktop ... Passed
    charm ... Passed
==> Making package: pycharm-professional 2019.1.0-1 (Sat 30 Mar 2019 08:31:41 PM EDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
:: There are 10 providers available for ttf-font:
:: Repository extra
   1) noto-fonts  2) ttf-bitstream-vera  3) ttf-caladea  4) ttf-carlito  5) ttf-croscore  6) ttf-dejavu  7) ttf-freefont
:: Repository community
   8) ttf-droid  9) ttf-liberation  10) ttf-ubuntu-font-family

Enter a number (default=1): 
:: There are 4 providers available for java-runtime:
:: Repository extra
   1) jre-openjdk  2) jre10-openjdk  3) jre7-openjdk  4) jre8-openjdk

Enter a number (default=1): 
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (28) freetype2-2.10.0-1  graphite-1:1.3.13-1  harfbuzz-2.4.0-1  java-runtime-common-3-1  jre-openjdk-headless-11.0.3.u4-1
              lcms2-2.9-1  libjpeg-turbo-2.0.2-1  libnet-1.1.6-3  libnsl-1.2.0-1  libpng-1.6.36-1  libtiff-4.0.10-1  libx11-1.6.7-1
              libxau-1.0.9-1  libxcb-1.13.1-1  libxdmcp-1.1.3-1  libxext-1.3.4-1  libxfixes-5.0.3-2  libxi-1.7.9-2  nspr-4.21-1
              nss-3.43-1  xcb-proto-1.13-2  xorgproto-2018.4-1  giflib-5.1.8-1  jre-openjdk-11.0.3.u4-1  libxslt-1.1.33-1
              libxtst-1.2.3-2  noto-fonts-20190111-1  python-3.7.3-1

Total Installed Size:  419.59 MiB

:: Proceed with installation? [Y/n] 
(28/28) checking keys in keyring                                                 [##############################################] 100%
(28/28) checking package integrity                                               [##############################################] 100%
(28/28) loading package files                                                    [##############################################] 100%
(28/28) checking for file conflicts                                              [##############################################] 100%
:: Processing package changes...
( 1/28) installing giflib                                                        [##############################################] 100%
( 2/28) installing noto-fonts                                                    [##############################################] 100%
Optional dependencies for noto-fonts
    noto-fonts-cjk: CJK characters
    noto-fonts-emoji: Emoji characters
    noto-fonts-extra: additional variants (condensed, semi-bold, extra-light)
( 3/28) installing xcb-proto                                                     [##############################################] 100%
( 4/28) installing xorgproto                                                     [##############################################] 100%
( 5/28) installing libxdmcp                                                      [##############################################] 100%
( 6/28) installing libxau                                                        [##############################################] 100%
( 7/28) installing libxcb                                                        [##############################################] 100%
( 8/28) installing libx11                                                        [##############################################] 100%
( 9/28) installing libxext                                                       [##############################################] 100%
(10/28) installing libxi                                                         [##############################################] 100%
(11/28) installing libxfixes                                                     [##############################################] 100%
(12/28) installing libxtst                                                       [##############################################] 100%
(13/28) installing libxslt                                                       [##############################################] 100%
(14/28) installing libnsl                                                        [##############################################] 100%
(15/28) installing python                                                        [##############################################] 100%
Optional dependencies for python
    python-setuptools
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(16/28) installing java-runtime-common                                           [##############################################] 100%
For the complete set of Java binaries to be available in your PATH,
you need to re-login or source /etc/profile.d/jre.sh
Please note that this package does not support forcing JAVA_HOME as former package java-common did
(17/28) installing nspr                                                          [##############################################] 100%
(18/28) installing nss                                                           [##############################################] 100%
(19/28) installing libjpeg-turbo                                                 [##############################################] 100%
(20/28) installing libtiff                                                       [##############################################] 100%
Optional dependencies for libtiff
    freeglut: for using tiffgt
(21/28) installing lcms2                                                         [##############################################] 100%
(22/28) installing libnet                                                        [##############################################] 100%
(23/28) installing libpng                                                        [##############################################] 100%
(24/28) installing graphite                                                      [##############################################] 100%
(25/28) installing harfbuzz                                                      [##############################################] 100%
Optional dependencies for harfbuzz
    cairo: hb-view program
(26/28) installing freetype2                                                     [##############################################] 100%
(27/28) installing jre-openjdk-headless                                          [##############################################] 100%
Optional dependencies for jre-openjdk-headless
    java-rhino: for some JavaScript support
(28/28) installing jre-openjdk                                                   [##############################################] 100%
when you use a non-reparenting window manager,
set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh
Optional dependencies for jre-openjdk
    alsa-lib: for basic sound support
    gtk2: for the Gtk+ 2 look and feel - desktop usage
    gtk3: for the Gtk+ 3 look and feel - desktop usage
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (11) python-appdirs-1.4.3-2  python-packaging-19.0-1  python-pyparsing-2.3.1-1  python-six-1.12.0-1  python2-2.7.16-1
              python2-appdirs-1.4.3-2  python2-packaging-19.0-1  python2-pyparsing-2.3.1-1  python2-six-1.12.0-1
              python-setuptools-1:40.8.0-1  python2-setuptools-1:40.8.0-1

Total Installed Size:  80.66 MiB

:: Proceed with installation? [Y/n] 
(11/11) checking keys in keyring                                                 [##############################################] 100%
(11/11) checking package integrity                                               [##############################################] 100%
(11/11) loading package files                                                    [##############################################] 100%
(11/11) checking for file conflicts                                              [##############################################] 100%
:: Processing package changes...
( 1/11) installing python2                                                       [##############################################] 100%
Optional dependencies for python2
    tk: for IDLE
    python2-setuptools [pending]
    python2-pip
( 2/11) installing python2-appdirs                                               [##############################################] 100%
( 3/11) installing python2-pyparsing                                             [##############################################] 100%
( 4/11) installing python2-six                                                   [##############################################] 100%
( 5/11) installing python2-packaging                                             [##############################################] 100%
( 6/11) installing python2-setuptools                                            [##############################################] 100%
( 7/11) installing python-appdirs                                                [##############################################] 100%
( 8/11) installing python-pyparsing                                              [##############################################] 100%
( 9/11) installing python-six                                                    [##############################################] 100%
(10/11) installing python-packaging                                              [##############################################] 100%
(11/11) installing python-setuptools                                             [##############################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found pycharm-professional-2019.1-no-jbr.tar.gz
  -> Found pycharm-professional.desktop
  -> Found pycharm
  -> Found charm.desktop
  -> Found charm
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting pycharm-professional-2019.1-no-jbr.tar.gz with bsdtar
==> Starting build()...
running build_ext
building '_pydevd_bundle_ext.pydevd_cython' extension
creating build
creating build/_pydevd_bundle
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c _pydevd_bundle/pydevd_cython.c -o build/_pydevd_bundle/pydevd_cython.o
creating _pydevd_bundle_ext
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 build/_pydevd_bundle/pydevd_cython.o -L/usr/lib -lpython2.7 -o ./_pydevd_bundle_ext/pydevd_cython.so
running build_ext
building '_pydevd_bundle_ext.pydevd_cython' extension
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c _pydevd_bundle/pydevd_cython.c -o build/_pydevd_bundle/pydevd_cython.o
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 build/_pydevd_bundle/pydevd_cython.o -L/usr/lib -lpython3.7m -o ./_pydevd_bundle_ext/pydevd_cython.cpython-37m-x86_64-linux-gnu.so
running build_ext
building '_pydevd_frame_eval_ext.pydevd_frame_evaluator' extension
creating build/_pydevd_frame_eval
gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c _pydevd_frame_eval/pydevd_frame_evaluator.c -o build/_pydevd_frame_eval/pydevd_frame_evaluator.o
creating _pydevd_frame_eval_ext
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 build/_pydevd_frame_eval/pydevd_frame_evaluator.o -L/usr/lib -lpython3.7m -o ./_pydevd_frame_eval_ext/pydevd_frame_evaluator.cpython-37m-x86_64-linux-gnu.so
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
strip: Unable to recognise the format of the input file `./opt/pycharm-professional/lib/pty4j-native/linux/ppc64le/libpty.so'
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "pycharm-professional"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pycharm-professional 2019.1.0-1 (Sat 30 Mar 2019 08:37:14 PM EDT)
==> Installing package pycharm-professional with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) pycharm-professional-2019.1.0-1

Total Installed Size:  667.42 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                   [##############################################] 100%
(1/1) checking package integrity                                                 [##############################################] 100%
(1/1) loading package files                                                      [##############################################] 100%
(1/1) checking for file conflicts                                                [##############################################] 100%
:: Processing package changes...
(1/1) installing pycharm-professional                                            [##############################################] 100%
Optional dependencies for pycharm-professional
    ipython2: For enhanced interactive Python shell v2 inside Pycharm
    ipython: For enhanced interactive Python shell v3 inside Pycharm
    openssh: For deployment and remote connections
    python2-setuptools: Packages manager for Python 2, for project interpreter [installed]
    python-setuptools: Packages manager for Python 3, for project interpreter [installed]
    python2-coverage: For support code coverage measurement for Python 2
    python-coverage: For support code coverage measurement for Python 3
    cython2: For performance debugger in Python 2
    cython: For performance debugger in Python 3
    docker-machine: For support docker inside Pycharm
    docker-compose: For support docker inside Pycharm
    vagrant: For support virtualized development environments
    python2-pytest: For support testing inside Pycharm with Python 2
    python-pytest: For support testing inside Pycharm with Python 3
    python2-tox: Python environments for testing tool with Python 2
    python-tox: Python environments for testing tool with Python 3,
    jupyter: For support Jupyter Notebook
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
resolving dependencies...
looking for conflicting packages...

Packages (5) elfutils-0.176-1  licenses-20181104-1  pyalpm-0.8.5-2  python-pyelftools-0.25-1  namcap-3.2.8-3

Total Download Size:   0.13 MiB
Total Installed Size:  3.98 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 pyalpm-0.8.5-2-x86_64                                   43.1 KiB   293K/s 00:00 [##############################################] 100%
 namcap-3.2.8-3-any                                      91.3 KiB  1100K/s 00:00 [##############################################] 100%
(5/5) checking keys in keyring                                                   [##############################################] 100%
(5/5) checking package integrity                                                 [##############################################] 100%
(5/5) loading package files                                                      [##############################################] 100%
(5/5) checking for file conflicts                                                [##############################################] 100%
:: Processing package changes...
(1/5) installing pyalpm                                                          [##############################################] 100%
(2/5) installing licenses                                                        [##############################################] 100%
(3/5) installing elfutils                                                        [##############################################] 100%
(4/5) installing python-pyelftools                                               [##############################################] 100%
(5/5) installing namcap                                                          [##############################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Checking PKGBUILD
PKGBUILD (pycharm-professional) W: Reference to arm should be changed to $CARCH
Checking pycharm-professional-2019.1.0-1-x86_64.pkg.tar.xz
pycharm-professional E: ELF files outside of a valid path ('opt/').
pycharm-professional W: ELF file ('opt/pycharm-professional/bin/fsnotifier64') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/bin/libdbm64.so') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/bin/libyjpagent-linux.so') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/bin/libyjpagent-linux64.so') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/helpers/pydev/build/_pydevd_bundle/pydevd_cython.o') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/helpers/pydev/build/_pydevd_frame_eval/pydevd_frame_evaluator.o') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/helpers/pydev/pydevd_attach_to_process/attach_linux_amd64.so') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/helpers/pydev/pydevd_attach_to_process/attach_linux_x86.so') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/lib/pty4j-native/linux/ppc64le/libpty.so') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/lib/pty4j-native/linux/x86/libpty.so') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/lib/pty4j-native/linux/x86_64/libpty.so') lacks FULL RELRO, check LDFLAGS.
pycharm-professional W: ELF file ('opt/pycharm-professional/helpers/pydev/build/_pydevd_bundle/pydevd_cython.o') is unstripped.
pycharm-professional W: ELF file ('opt/pycharm-professional/helpers/pydev/build/_pydevd_frame_eval/pydevd_frame_evaluator.o') is unstripped.
pycharm-professional W: ELF file ('opt/pycharm-professional/lib/pty4j-native/linux/ppc64le/libpty.so') is unstripped.
pycharm-professional W: ELF file ('opt/pycharm-professional/bin/fsnotifier64') lacks PIE.
pycharm-professional W: ELF file ('opt/pycharm-professional/helpers/pydev/build/_pydevd_bundle/pydevd_cython.o') lacks PIE.
pycharm-professional W: ELF file ('opt/pycharm-professional/helpers/pydev/build/_pydevd_frame_eval/pydevd_frame_evaluator.o') lacks PIE.
pycharm-professional W: Referenced library 'node' is an uninstalled dependency
pycharm-professional W: Referenced library 'python.exe' is an uninstalled dependency
pycharm-professional W: Referenced library 'libdl.so.2' is an uninstalled dependency
pycharm-professional W: Referenced library 'libc.so.6' is an uninstalled dependency
pycharm-professional W: Referenced library 'librt.so.1' is an uninstalled dependency
pycharm-professional W: Referenced library 'libm.so.6' is an uninstalled dependency
pycharm-professional W: Referenced library 'libdbusmenu-glib.so.4' is an uninstalled dependency
pycharm-professional W: Referenced library 'libgcc_s.so.1' is an uninstalled dependency
pycharm-professional W: Referenced library 'ld-linux.so.2' is an uninstalled dependency
pycharm-professional W: Referenced library 'libstdc++.so.6' is an uninstalled dependency
pycharm-professional W: Unused shared library '/usr/lib/libm.so.6' by file ('opt/pycharm-professional/bin/libyjpagent-linux64.so')
pycharm-professional W: Unused shared library '/usr/lib/libpthread.so.0' by file ('opt/pycharm-professional/helpers/pydev/_pydevd_bundle_ext/pydevd_cython.cpython-37m-x86_64-linux-gnu.so')
pycharm-professional W: Unused shared library '/usr/lib/libpthread.so.0' by file ('opt/pycharm-professional/helpers/pydev/_pydevd_bundle_ext/pydevd_cython.so')
pycharm-professional W: Unused shared library '/usr/lib/libpthread.so.0' by file ('opt/pycharm-professional/helpers/pydev/_pydevd_frame_eval_ext/pydevd_frame_evaluator.cpython-37m-x86_64-linux-gnu.so')
pycharm-professional E: Dependency desktop-file-utils detected and not included (needed for update-desktop-database)
pycharm-professional E: Dependency glib2 detected and not included (libraries ['usr/lib/libgobject-2.0.so.0', 'usr/lib/libgio-2.0.so.0', 'usr/lib/libglib-2.0.so.0'] needed in files ['opt/pycharm-professional/bin/libdbm64.so'])
pycharm-professional W: Dependency python2 detected but optional (libraries ['usr/lib/libpython2.7.so.1.0'] needed in files ['opt/pycharm-professional/helpers/pydev/_pydevd_bundle_ext/pydevd_cython.so'])
pycharm-professional W: Dependency included and not needed ('giflib')
pycharm-professional W: Dependency glibc included but already satisfied
pycharm-professional W: Dependency sh included but already satisfied
pycharm-professional W: Dependency included and not needed ('libxtst')
pycharm-professional W: Dependency included and not needed ('libxslt')

I didn’t receive the same build error with gcc as before but pycharm still doesn’t seem to be installed

#6 2019-03-31 00:53:18

loqs
Member
Registered: 2014-03-06
Posts: 15,645

Re: GCC 8 giving assembler errors when building

extra-x86_64-build builds the package it does not install it.  `pacman  -U pycharm-professional-2019.1.0-1-x86_64.pkg.tar.xz` to install.

#7 2019-03-31 00:57:21

s0lar1n
Member
Registered: 2019-03-30
Posts: 8

Re: GCC 8 giving assembler errors when building

I was able to install it using pacman and the tar.xz file. Why did that work but when I try to build it through a package manager it fails?

#8 2019-03-31 01:05:56

loqs
Member
Registered: 2014-03-06
Posts: 15,645

Re: GCC 8 giving assembler errors when building

python3 helpers/pydev/setup_cython.py build_ext --build-temp build --build-lib .

Produces a different result in the clean chroot than on the installed system.  You could check which python3 is being used if that does not provide a lead possibly strace the call.

#9 2019-03-31 02:57:14

s0lar1n
Member
Registered: 2019-03-30
Posts: 8

Re: GCC 8 giving assembler errors when building

I’ve isolated the problem to be missing files in the site-packages directory in /usr/lib/python3.7 as it completes properly with python2. How would I go about completely reinstalling python3

#10 2019-03-31 04:17:01

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,246
Website

Re: GCC 8 giving assembler errors when building

run «pacman -Qkk» and you will get a list of packages with missing files.  Reinstall them.

#11 2019-03-31 14:00:45

s0lar1n
Member
Registered: 2019-03-30
Posts: 8

Re: GCC 8 giving assembler errors when building

After reinstalling everything it appears the error is coming from the python3 compilation as opposed to python2 as the python3 setup appends the -g flag to the gcc command. When I remove the -g from the command and run it the command completes successfully. The g flag is used to generate debugging information so why can’t the debugging information be compiled in my system but when you build a clean chroot it builds fine

>>>gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/include/python3.7m -c _pydevd_bundle/pydevd_cython.c -o build/_pydevd_bundle/pydevd_cython.o

>>>gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong -fno-plt -fPIC -I/usr/include/python3.7m -c _pydevd_bundle/pydevd_cython.c -o build/_pydevd_bundle/pydevd_cython.o
{standard input}: Assembler messages:
{standard input}:10: Error: unknown .loc sub-directive `view'
{standard input}:10: Error: junk at end of line, first unrecognized character is `-'
{standard input}:12: Error: unknown .loc sub-directive `view'
{standard input}:12: Error: unknown pseudo-op: `.lvu1'
{standard input}:13: Error: unknown .loc sub-directive `view'
{standard input}:13: Error: unknown pseudo-op: `.lvu2'
{standard input}:14: Error: unknown .loc sub-directive `view'
{standard input}:14: Error: unknown pseudo-op: `.lvu3'
{standard input}:15: Error: unknown .loc sub-directive `view'
{standard input}:15: Error: unknown pseudo-op: `.lvu4'
{standard input}:18: Error: unknown .loc sub-directive `view'
{standard input}:18: Error: unknown pseudo-op: `.lvu5'
{standard input}:21: Error: unknown .loc sub-directive `view'
{standard input}:21: Error: unknown pseudo-op: `.lvu6'
{standard input}:22: Error: unknown .loc sub-directive `view'
{standard input}:22: Error: unknown pseudo-op: `.lvu7'
{standard input}:25: Error: unknown .loc sub-directive `view'
{standard input}:25: Error: unknown pseudo-op: `.lvu8'
{standard input}:29: Error: unknown .loc sub-directive `view'
{standard input}:29: Error: unknown pseudo-op: `.lvu9'
{standard input}:30: Error: unknown .loc sub-directive `view'
{standard input}:30: Error: unknown pseudo-op: `.lvu10'
{standard input}:33: Error: unknown .loc sub-directive `view'
{standard input}:33: Error: unknown pseudo-op: `.lvu11'
{standard input}:37: Error: unknown .loc sub-directive `view'
{standard input}:37: Error: unknown pseudo-op: `.lvu12'
{standard input}:39: Error: unknown .loc sub-directive `view'
{standard input}:39: Error: unknown pseudo-op: `.lvu13'
{standard input}:42: Error: unknown .loc sub-directive `view'
{standard input}:42: Error: unknown pseudo-op: `.lvu14'
{standard input}:44: Error: unknown .loc sub-directive `view'
{standard input}:44: Error: unknown pseudo-op: `.lvu15'
{standard input}:45: Error: unknown .loc sub-directive `view'
{standard input}:45: Error: unknown pseudo-op: `.lvu16'
{standard input}:46: Error: unknown .loc sub-directive `view'
{standard input}:46: Error: unknown pseudo-op: `.lvu17'
{standard input}:47: Error: unknown .loc sub-directive `view'
{standard input}:47: Error: unknown pseudo-op: `.lvu18'
{standard input}:49: Error: unknown .loc sub-directive `view'
{standard input}:49: Error: unknown pseudo-op: `.lvu19'
{standard input}:50: Error: unknown .loc sub-directive `view'
{standard input}:50: Error: unknown pseudo-op: `.lvu20'
{standard input}:51: Error: unknown .loc sub-directive `view'
{standard input}:51: Error: unknown pseudo-op: `.lvu21'
{standard input}:52: Error: unknown .loc sub-directive `view'
{standard input}:52: Error: unknown pseudo-op: `.lvu22'
{standard input}:53: Error: unknown .loc sub-directive `view'
{standard input}:53: Error: unknown pseudo-op: `.lvu23'
{standard input}:55: Error: unknown .loc sub-directive `view'
{standard input}:55: Error: unknown pseudo-op: `.lvu24'
{standard input}:57: Error: unknown .loc sub-directive `view'
{standard input}:57: Error: unknown pseudo-op: `.lvu25'
{standard input}:58: Error: unknown .loc sub-directive `view'
{standard input}:58: Error: unknown pseudo-op: `.lvu26'
{standard input}:59: Error: unknown .loc sub-directive `view'
{standard input}:59: Error: unknown pseudo-op: `.lvu27'
{standard input}:60: Error: unknown .loc sub-directive `view'
{standard input}:60: Error: unknown pseudo-op: `.lvu28'
{standard input}:61: Error: unknown .loc sub-directive `view'
{standard input}:61: Error: unknown pseudo-op: `.lvu29'
{standard input}:63: Error: unknown .loc sub-directive `view'
{standard input}:63: Error: unknown pseudo-op: `.lvu30'
{standard input}:64: Error: unknown .loc sub-directive `view'
{standard input}:64: Error: unknown pseudo-op: `.lvu31'
{standard input}:65: Error: unknown .loc sub-directive `view'
{standard input}:65: Error: unknown pseudo-op: `.lvu32'
{standard input}:66: Error: unknown .loc sub-directive `view'
{standard input}:66: Error: unknown pseudo-op: `.lvu33'
{standard input}:69: Error: unknown .loc sub-directive `view'
{standard input}:69: Error: unknown pseudo-op: `.lvu34'
{standard input}:79: Error: unknown .loc sub-directive `view'
{standard input}:79: Error: unknown pseudo-op: `.lvu35'
{standard input}:80: Error: unknown .loc sub-directive `view'
{standard input}:80: Error: unknown pseudo-op: `.lvu36'
{standard input}:84: Error: unknown .loc sub-directive `view'
{standard input}:84: Error: unknown pseudo-op: `.lvu37'
{standard input}:87: Error: unknown .loc sub-directive `view'
{standard input}:87: Error: unknown pseudo-op: `.lvu38'
{standard input}:90: Error: unknown .loc sub-directive `view'
{standard input}:90: Error: unknown pseudo-op: `.lvu39'
{standard input}:100: Error: unknown .loc sub-directive `view'
{standard input}:100: Error: junk at end of line, first unrecognized character is `-'
{standard input}:102: Error: unknown .loc sub-directive `view'
{standard input}:102: Error: unknown pseudo-op: `.lvu41'
{standard input}:103: Error: unknown .loc sub-directive `view'
{standard input}:103: Error: unknown pseudo-op: `.lvu42'
{standard input}:104: Error: unknown .loc sub-directive `view'
{standard input}:104: Error: unknown pseudo-op: `.lvu43'
{standard input}:105: Error: unknown .loc sub-directive `view'
{standard input}:105: Error: unknown pseudo-op: `.lvu44'
{standard input}:115: Error: unknown .loc sub-directive `view'
{standard input}:115: Error: unknown pseudo-op: `.lvu45'
{standard input}:117: Error: unknown .loc sub-directive `view'
{standard input}:117: Error: unknown pseudo-op: `.lvu46'
{standard input}:120: Error: unknown .loc sub-directive `view'
{standard input}:120: Error: unknown pseudo-op: `.lvu47'
{standard input}:121: Error: unknown .loc sub-directive `view'
{standard input}:121: Error: unknown pseudo-op: `.lvu48'
{standard input}:123: Error: unknown .loc sub-directive `view'
{standard input}:123: Error: unknown pseudo-op: `.lvu49'
{standard input}:125: Error: unknown .loc sub-directive `view'
{standard input}:125: Error: unknown pseudo-op: `.lvu50'
{standard input}:128: Error: unknown .loc sub-directive `view'
{standard input}:128: Error: unknown pseudo-op: `.lvu51'
{standard input}:130: Error: unknown .loc sub-directive `view'
{standard input}:130: Error: unknown pseudo-op: `.lvu52'
{standard input}:132: Error: unknown .loc sub-directive `view'
{standard input}:132: Error: unknown pseudo-op: `.lvu53'
{standard input}:135: Error: unknown .loc sub-directive `view'
{standard input}:135: Error: unknown pseudo-op: `.lvu54'
{standard input}:137: Error: unknown .loc sub-directive `view'
{standard input}:137: Error: unknown pseudo-op: `.lvu55'
{standard input}:139: Error: unknown .loc sub-directive `view'
{standard input}:139: Error: unknown pseudo-op: `.lvu56'
{standard input}:144: Error: unknown .loc sub-directive `view'
{standard input}:144: Error: unknown pseudo-op: `.lvu57'
{standard input}:147: Error: unknown .loc sub-directive `view'
{standard input}:147: Error: unknown pseudo-op: `.lvu58'
{standard input}:150: Error: unknown .loc sub-directive `view'
{standard input}:150: Error: unknown pseudo-op: `.lvu59'
{standard input}:151: Error: unknown .loc sub-directive `view'
{standard input}:151: Error: unknown pseudo-op: `.lvu60'
{standard input}:154: Error: unknown .loc sub-directive `view'
{standard input}:154: Error: unknown pseudo-op: `.lvu61'
{standard input}:155: Error: unknown .loc sub-directive `view'
{standard input}:155: Error: unknown pseudo-op: `.lvu62'
{standard input}:157: Error: unknown .loc sub-directive `view'
{standard input}:157: Error: unknown pseudo-op: `.lvu63'
{standard input}:159: Error: unknown .loc sub-directive `view'
{standard input}:159: Error: unknown pseudo-op: `.lvu64'
{standard input}:161: Error: unknown .loc sub-directive `view'
{standard input}:161: Error: unknown pseudo-op: `.lvu65'
{standard input}:163: Error: unknown .loc sub-directive `view'
{standard input}:163: Error: unknown pseudo-op: `.lvu66'
{standard input}:165: Error: unknown .loc sub-directive `view'
{standard input}:165: Error: unknown pseudo-op: `.lvu67'
{standard input}:168: Error: unknown .loc sub-directive `view'
{standard input}:168: Error: unknown pseudo-op: `.lvu68'
{standard input}:170: Error: unknown .loc sub-directive `view'
{standard input}:170: Error: unknown pseudo-op: `.lvu69'
{standard input}:172: Error: unknown .loc sub-directive `view'
{standard input}:172: Error: unknown pseudo-op: `.lvu70'
{standard input}:177: Error: unknown .loc sub-directive `view'
{standard input}:177: Error: unknown pseudo-op: `.lvu71'
{standard input}:180: Error: unknown .loc sub-directive `view'
{standard input}:180: Error: unknown pseudo-op: `.lvu72'
{standard input}:183: Error: unknown .loc sub-directive `view'
{standard input}:183: Error: unknown pseudo-op: `.lvu73'
{standard input}:184: Error: unknown .loc sub-directive `view'
{standard input}:184: Error: unknown pseudo-op: `.lvu74'
{standard input}:187: Error: unknown .loc sub-directive `view'
{standard input}:187: Error: unknown pseudo-op: `.lvu75'
{standard input}:188: Error: unknown .loc sub-directive `view'
{standard input}:188: Error: unknown pseudo-op: `.lvu76'
{standard input}:190: Error: unknown .loc sub-directive `view'
{standard input}:190: Error: unknown pseudo-op: `.lvu77'
{standard input}:192: Error: unknown .loc sub-directive `view'
{standard input}:192: Error: unknown pseudo-op: `.lvu78'
{standard input}:194: Error: unknown .loc sub-directive `view'
{standard input}:194: Error: unknown pseudo-op: `.lvu79'
{standard input}:196: Error: unknown .loc sub-directive `view'
{standard input}:196: Error: unknown pseudo-op: `.lvu80'
{standard input}:198: Error: unknown .loc sub-directive `view'
{standard input}:198: Error: unknown pseudo-op: `.lvu81'
{standard input}:201: Error: unknown .loc sub-directive `view'
{standard input}:201: Error: unknown pseudo-op: `.lvu82'
{standard input}:203: Error: unknown .loc sub-directive `view'
{standard input}:203: Error: unknown pseudo-op: `.lvu83'
{standard input}:205: Error: unknown .loc sub-directive `view'
{standard input}:205: Error: unknown pseudo-op: `.lvu84'
{standard input}:210: Error: unknown .loc sub-directive `view'
{standard input}:210: Error: unknown pseudo-op: `.lvu85'
{standard input}:213: Error: unknown .loc sub-directive `view'
{standard input}:213: Error: unknown pseudo-op: `.lvu86'
{standard input}:216: Error: unknown .loc sub-directive `view'
{standard input}:216: Error: unknown pseudo-op: `.lvu87'
{standard input}:217: Error: unknown .loc sub-directive `view'
{standard input}:217: Error: unknown pseudo-op: `.lvu88'
{standard input}:220: Error: unknown .loc sub-directive `view'
{standard input}:220: Error: unknown pseudo-op: `.lvu89'
{standard input}:221: Error: unknown .loc sub-directive `view'
{standard input}:221: Error: unknown pseudo-op: `.lvu90'
{standard input}:223: Error: unknown .loc sub-directive `view'
{standard input}:223: Error: unknown pseudo-op: `.lvu91'
{standard input}:225: Error: unknown .loc sub-directive `view'
{standard input}:225: Error: unknown pseudo-op: `.lvu92'
{standard input}:227: Error: unknown .loc sub-directive `view'
{standard input}:227: Error: unknown pseudo-op: `.lvu93'
{standard input}:229: Error: unknown .loc sub-directive `view'
{standard input}:229: Error: unknown pseudo-op: `.lvu94'
{standard input}:231: Error: unknown .loc sub-directive `view'
{standard input}:231: Error: unknown pseudo-op: `.lvu95'
{standard input}:234: Error: unknown .loc sub-directive `view'
{standard input}:234: Error: unknown pseudo-op: `.lvu96'
{standard input}:236: Error: unknown .loc sub-directive `view'
{standard input}:236: Error: unknown pseudo-op: `.lvu97'
{standard input}:238: Error: unknown .loc sub-directive `view'
{standard input}:238: Error: unknown pseudo-op: `.lvu98'
{standard input}:243: Error: unknown .loc sub-directive `view'
{standard input}:243: Error: unknown pseudo-op: `.lvu99'
{standard input}:246: Error: unknown .loc sub-directive `view'

Last edited by s0lar1n (2019-03-31 14:03:06)

#12 2019-03-31 14:10:47

loqs
Member
Registered: 2014-03-06
Posts: 15,645

Re: GCC 8 giving assembler errors when building

Did pacman -Qkk detect any packages with missing files?  Have you installed anything on the system without the use of pacman?

Last edited by loqs (2019-03-31 14:11:20)

#13 2019-03-31 14:19:19

s0lar1n
Member
Registered: 2019-03-30
Posts: 8

Re: GCC 8 giving assembler errors when building

I haven’t installed anything on the system without the use of a package manager with the exception of using pip for packages not available through pacman. Here is the output for pacman -Qkk

>>>sudo pacman -Qkk | grep -i "warning"
warning: accountsservice: /var/lib/AccountsService/icons (Permissions mismatch)
warning: amd-ucode: /boot/amd-ucode.img (Permissions mismatch)
warning: intel-ucode: /boot/intel-ucode.img (Permissions mismatch)
warning: intel-ucode: /boot/intel-ucode.img (Modification time mismatch)
warning: linux: /boot/vmlinuz-linux (Permissions mismatch)
warning: linux: /boot/vmlinuz-linux (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.alias (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.alias.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.builtin.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.dep (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.dep (Size mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.dep.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.dep.bin (Size mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.devname (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.softdep (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.symbols (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.symbols (Size mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.symbols.bin (Modification time mismatch)
warning: linux: /usr/lib/modules/5.0.5-arch1-1-ARCH/modules.symbols.bin (Size mismatch)
warning: syslinux: /boot/syslinux/syslinux.cfg (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)

#14 2019-03-31 14:31:27

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: GCC 8 giving assembler errors when building

s0lar1n wrote:

…with the exception of using pip for packages not available through pacman…

Please tell me you never ran pip as root. If you did then it is likely the cause of your issue.


No, it didn’t «fix» anything. It just shifted the brokeness one space to the right. — jasonwryan
Closing — for deletion; Banning — for muppetry. — jasonwryan

aur — dotfiles

#15 2019-03-31 14:34:03

s0lar1n
Member
Registered: 2019-03-30
Posts: 8

Re: GCC 8 giving assembler errors when building

I wish I could say I didn’t but I have….

Edit: I don’t think the problem is with python

>>>cat test.c
#include <stdio.h>

int main(){
        printf("Testn");
        return 0;
}
>>> gcc -O3 -g test.c -o test
/tmp/cc0E0ksN.s: Assembler messages:
/tmp/cc0E0ksN.s:14: Error: unknown .loc sub-directive `view'
/tmp/cc0E0ksN.s:14: Error: junk at end of line, first unrecognized character is `-'
/tmp/cc0E0ksN.s:16: Error: unknown .loc sub-directive `view'
/tmp/cc0E0ksN.s:16: Error: unknown pseudo-op: `.lvu1'
/tmp/cc0E0ksN.s:17: Error: unknown .loc sub-directive `view'
/tmp/cc0E0ksN.s:17: Error: unknown pseudo-op: `.lvu2'
/tmp/cc0E0ksN.s:20: Error: unknown .loc sub-directive `view'
/tmp/cc0E0ksN.s:20: Error: unknown pseudo-op: `.lvu3'
/tmp/cc0E0ksN.s:24: Error: unknown .loc sub-directive `view'
/tmp/cc0E0ksN.s:24: Error: unknown pseudo-op: `.lvu4'
/tmp/cc0E0ksN.s:25: Error: unknown .loc sub-directive `view'
/tmp/cc0E0ksN.s:25: Error: unknown pseudo-op: `.lvu5'

Last edited by s0lar1n (2019-03-31 15:59:57)

Attachments

test.verbose.log


(test.verbose.log,2.60 KB,
text/plain)

2007-01-04 11:34 UTC,

Walter-Martin

Details

test.S


(test.S,419 bytes,
text/plain)

2007-01-04 11:35 UTC,

Walter-Martin

Details

test.ii


(test.ii,81 bytes,
text/plain)

2007-01-04 11:36 UTC,

Walter-Martin

Details

test.ii.dd


(test.ii.dd,3.90 KB,
text/plain)

2007-01-04 11:36 UTC,

Walter-Martin

Details

test.log


(test.log,849 bytes,
text/plain)

2007-01-04 14:02 UTC,

Walter-Martin

Details

test.verbose.log


(test.verbose.log,2.82 KB,
text/plain)

2007-01-04 14:02 UTC,

Walter-Martin

Details

test.ii


(test.ii,707.92 KB,
text/plain)

2007-01-04 14:03 UTC,

Walter-Martin

Details

test.ii.dd


(test.ii.dd,784.76 KB,
text/plain)

2007-01-04 14:03 UTC,

Walter-Martin

Details

test.S


(test.S,4.39 KB,
text/plain)

2007-01-04 14:04 UTC,

Walter-Martin

Details

Show
Obsolete (4)
View All

Add an attachment
(proposed patch, testcase, etc.)

Понравилась статья? Поделить с друзьями:
  • Error unknown filesystem grub rescue при установке манджаро
  • Error unknown filesystem grub rescue proxmox
  • Error unknown filesystem grub rescue manjaro usb
  • Error unknown filesystem grub rescue linux mint
  • Error unknown filesystem grub rescue astra linux