Comments (8)
Ah, yeah, I don't think cleanall
is supposed to touch the cache in deps
, on a git bisect
run running make cleanall
is useful but if it cleaned the also the deps cache you'd be downloading, unpacking and installing llvm all the time.
from julia.
Since utf8proc is compiled locally from source it sounds like a problem in your toolchain? What compiler are you using? What version? What's the output of
file /mnt/c/users/nicho/repos/julia/usr/lib/libutf8proc.a
?
from julia.
Hmm. Why just that one file though? A toolchain issue is possible, though I don't think I did anything unusual.
The output is:
/mnt/c/users/nicho/repos/julia/usr/lib/libutf8proc.a: current ar archive
Compiler version:
nicho@AuroraSurface11:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/11/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
from julia.
Why just that one file though?
I don't know, but building on aarch64-linux is regularly tested and it works fine, I also build often on another aarch64-linux system and I have no problems.
The output is:
Right, file
on an archive isn't particularly enlightening. Try this instead:
cd $(mktemp -d)
ar x /mnt/c/users/nicho/repos/julia/usr/lib/libutf8proc.a
file utf8proc.o
readelf -h utf8proc.o
from julia.
utf8proc.o: Intel amd64 COFF object file, no line number info, not stripped, 8 sections, symbol offset=0x53f14, 62 symbols, 1st section name ".text"
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
Possibly relevant is that I initially started with Make.user pointing to mingw. I removed that line since, and had done make cleanall
many times.
Just investigated further, and make -C deps clean-utf8proc
fixed it. Should cleanall
have caught this? Or should the build process have noticed something needed rebuilding? Or is this just an expected hazard of this kind of thing? If the latter I'll close this.
from julia.
Intel amd64 COFF object file
That's the wrong format, and it explains the error message.
from julia.
Should cleanall have caught this?
I think make cleanall
deletes the entire usr/
subdir, no?
Or should the build process have noticed something needed rebuilding?
Make checks timestamps, not file formats.
from julia.
Should cleanall have caught this?
I think
make cleanall
deletes the entireusr/
subdir, no?
Yeah, though it doesn't do anything to deps/scratch
subfolders, which seems to be where the dependencies get compiled. Based on the make VERBOSE=1
output I was seeing, all it was doing was copying the libutf8proc.a
file from the scratch\utf8proc-<hash>
subfolder. make -C deps clean-utf8proc
actually removes the libutf8proc.a
file.
from julia.
Related Issues (20)
- `rand_twiceprecision` tests intermittently failing on 32-bit Linux HOT 1
- `@time_imports` not showing extension parents HOT 3
- Type instabilities when using `mapslices` HOT 5
- Allocations of `eachslice` with variable `dims` HOT 3
- 4x regression for loading JLLs in 1.11, or likely the first one, such as micromamba_jll HOT 7
- `pkgdir` returns wrong dir for extension if extension is in its own folder
- Extension not loaded if trigger is a strong dependency [on 1.10] HOT 6
- 136x regression for LazyAritifacts HOT 4
- LinearAlgebra/addmul all-NAN batman? HOT 5
- `Markdown.parse(::LazyString)` errors
- Allow `stack` on empty collection HOT 1
- Learn program HOT 1
- `+` function string concatenation hint should not apply to zero args HOT 1
- Typed comprehension with begin/end is illegal syntax HOT 1
- Julia v1.11 (all RCs) breaks package SolidStateDetectors (not caught by PkgEval due to timeout)
- REPL precompilation workload is broken HOT 1
- `MethodError` thrown while preparing to throw `InexactError` in conversion of `Rational` to `Integer`
- `with_logger(NullLogger())` allocates in v1.11
- Artifact string resolution fails in Quarto/Jupyter context
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from julia.